1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-23 18:57:23 +01:00

dont refresh the backup page when there's an error saving the config

This commit is contained in:
Joshua Tauberer
2015-08-28 11:43:25 +00:00
parent 2b1f7da654
commit dbfd158388
2 changed files with 5 additions and 4 deletions

View File

@@ -384,7 +384,7 @@ def backup_set_custom(env, target, target_user, target_pass, min_age):
write_backup_config(env, config)
return "Updated backup config"
return "OK"
def get_backup_config(env, for_save=False, for_ui=False):
backup_root = os.path.join(env["STORAGE_ROOT"], 'backup')