From df240c649d88ab428f045177378a672c3593ff85 Mon Sep 17 00:00:00 2001 From: anmol Date: Fri, 4 Jan 2019 23:55:58 +0530 Subject: [PATCH] Fixed indentation --- conf/add_sso_conf.py | 2 +- conf/remove_sso_conf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/add_sso_conf.py b/conf/add_sso_conf.py index a0ef335..17ed8d6 100644 --- a/conf/add_sso_conf.py +++ b/conf/add_sso_conf.py @@ -8,4 +8,4 @@ with open("/etc/ssowat/conf.json.persistent", "r", encoding='utf-8') as jsonFile data["protected_urls"] = ["__DOMAIN__/__PATH__/admin"] with open("/etc/ssowat/conf.json.persistent", "w", encoding='utf-8') as jsonFile: -jsonFile.write(json.dumps(data, indent=4, sort_keys=True)) + jsonFile.write(json.dumps(data, indent=4, sort_keys=True)) diff --git a/conf/remove_sso_conf.py b/conf/remove_sso_conf.py index b67e36b..7cb1ce3 100644 --- a/conf/remove_sso_conf.py +++ b/conf/remove_sso_conf.py @@ -5,4 +5,4 @@ with open("/etc/ssowat/conf.json.persistent", "r", encoding='utf-8') as jsonFile data["protected_urls"].remove("__DOMAIN__/__PATH__/admin") with open("/etc/ssowat/conf.json.persistent", "w", encoding='utf-8') as jsonFile: -jsonFile.write(json.dumps(data, indent=4, sort_keys=True)) + jsonFile.write(json.dumps(data, indent=4, sort_keys=True))