From 4177ca882c42b4023b64b40644c3d63918b4a401 Mon Sep 17 00:00:00 2001 From: xithical <86810816+xithical@users.noreply.github.com> Date: Sun, 20 Mar 2022 12:19:11 -0500 Subject: [PATCH] Put encoding arg in its proper location for maximum linter appeasal --- app/classes/shared/import3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/classes/shared/import3.py b/app/classes/shared/import3.py index 0d244460..dfcd5bcf 100644 --- a/app/classes/shared/import3.py +++ b/app/classes/shared/import3.py @@ -21,7 +21,7 @@ class import3: else: with open (os.path.join(folder, "users.json"), encoding="utf-8") as f: user_json = json.loads(f.read()) - with open (os.path.join(folder, "mc_settings.json", encoding="utf-8")) as f: + with open (os.path.join(folder, "mc_settings.json"), encoding="utf-8") as f: servers_json = json.loads(f.read()) self.import_users(user_json) self.import_servers(servers_json, self.controller)