mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Replace \t in conf.json.persistent...
This commit is contained in:
parent
cd4fdb2b61
commit
f398f463f4
1 changed files with 3 additions and 0 deletions
|
@ -215,6 +215,9 @@ def translate_legacy_rules_in_ssowant_conf_json_persistent():
|
||||||
if not os.path.exists(persistent_file_name):
|
if not os.path.exists(persistent_file_name):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
# Ugly hack because for some reason so many people have tabs in their conf.json.persistent ...
|
||||||
|
os.system(r"sed -i 's/\t/ /g' /etc/ssowat/conf.json.persistent")
|
||||||
|
|
||||||
# Ugly hack to try not to misarably fail migration
|
# Ugly hack to try not to misarably fail migration
|
||||||
persistent = read_yaml(persistent_file_name)
|
persistent = read_yaml(persistent_file_name)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue