1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yourls_ynh.git synced 2024-09-03 20:35:59 +02:00

Fixed indentation

This commit is contained in:
anmol 2019-01-04 23:55:58 +05:30
parent 7c4c3b10c5
commit df240c649d
2 changed files with 2 additions and 2 deletions

View file

@ -8,4 +8,4 @@ with open("/etc/ssowat/conf.json.persistent", "r", encoding='utf-8') as jsonFile
data["protected_urls"] = ["__DOMAIN__/__PATH__/admin"] data["protected_urls"] = ["__DOMAIN__/__PATH__/admin"]
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)) jsonFile.write(json.dumps(data, indent=4, sort_keys=True))

View file

@ -5,4 +5,4 @@ with open("/etc/ssowat/conf.json.persistent", "r", encoding='utf-8') as jsonFile
data["protected_urls"].remove("__DOMAIN__/__PATH__/admin") data["protected_urls"].remove("__DOMAIN__/__PATH__/admin")
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)) jsonFile.write(json.dumps(data, indent=4, sort_keys=True))