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:
parent
7c4c3b10c5
commit
df240c649d
2 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||||
|
|
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue