Remove redundant open modes (#33652)
This commit is contained in:
1 parent
fddaea797e
commit
22ae498f3a
9 files changed
+12
-12
No files matched your search
@@ -15,7 +15,7 @@ def install_osx():
|
||||
|
||||
template_path = os.path.join(os.path.dirname(__file__), "launchd.plist")
|
||||
|
||||
with open(template_path, "r", encoding="utf-8") as inp:
|
||||
with open(template_path, encoding="utf-8") as inp:
|
||||
plist = inp.read()
|
||||
|
||||
plist = plist.replace("$HASS_PATH$", hass_path)
|
||||
|
||||
Reference in new issue
Block a user