mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-31 10:08:27 +02:00
Raise minimum python version to 3.8 (#3176)
This commit is contained in:
@@ -733,7 +733,7 @@ class EditRequestHandler(BaseHandler):
|
||||
content = ""
|
||||
if os.path.isfile(filename):
|
||||
# pylint: disable=no-value-for-parameter
|
||||
with open(file=filename, mode="r", encoding="utf-8") as f:
|
||||
with open(file=filename, encoding="utf-8") as f:
|
||||
content = f.read()
|
||||
self.write(content)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user