From afa2f765481512d78b0373265e01c76ce2b7a562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 7 Mar 2021 19:17:09 +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 f1d4271..b0fde80 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], sys.argv[2]): @@ -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))