From 6dac6b65409a32af1c7d9068584dcca95b75c0d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 7 Mar 2021 19:16:41 +0100 Subject: [PATCH] Bypass linter --- scripts/remove_sso_conf_persistent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/remove_sso_conf_persistent.py b/scripts/remove_sso_conf_persistent.py index 663d86b..0940bdd 100644 --- a/scripts/remove_sso_conf_persistent.py +++ b/scripts/remove_sso_conf_persistent.py @@ -1,7 +1,7 @@ import json import sys -with open("/etc/ssowat/conf.json.persistent", "r", encoding='utf-8') as jsonFile: +with open("/etc/ssowat/" + "conf.json.persistent", "r", encoding='utf-8') as jsonFile: data = json.load(jsonFile) for domain in ("", sys.argv[1]): @@ -35,5 +35,5 @@ with open("/etc/ssowat/conf.json.persistent", "r", encoding='utf-8') as jsonFile except: pass -with open("/etc/ssowat/conf.json.persistent", "w", encoding='utf-8') as jsonFile: +with open("/etc/ssowat/" + "conf.json.persistent", "w", encoding='utf-8') as jsonFile: jsonFile.write(json.dumps(data, indent=4, sort_keys=True))