This commit is contained in:
thomas committed 2021-05-10 08:48:45 +00:00
1 parent 11dc0de087
commit 279f264ffc
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ class ModView(HomeAssistantView):
with open(path, mode="r", encoding="utf-8", errors="ignore") as localfile:
filecontent = localfile.read()
localfile.close()
except Exception as exception:
except Exception:
pass
return web.Response(
-1
View File
@@ -1,4 +1,3 @@
import logging
from datetime import datetime
from homeassistant.const import STATE_UNAVAILABLE