Linting
This commit is contained in:
parent
11dc0de087
commit
279f264ffc
@ -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,4 +1,3 @@
|
||||
import logging
|
||||
from datetime import datetime
|
||||
|
||||
from homeassistant.const import STATE_UNAVAILABLE
|
||||
|
Loading…
x
Reference in New Issue
Block a user