Raise minimum python version to 3.8 (#3176)

This commit is contained in:
Jesse Hills
2022-02-10 21:55:11 +13:00
committed by GitHub
parent ad6c5ff11d
commit 40e06c9819
18 changed files with 253 additions and 180 deletions
+1 -1
View File
@@ -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)