diff --git a/scripts/backup.py b/scripts/backup.py index 51e1e6325..a3ea8cf9d 100755 --- a/scripts/backup.py +++ b/scripts/backup.py @@ -112,8 +112,8 @@ class backupTools: if len(mycnf) > 100: mw.writeFile(db_path + '/etc/my.cnf', mycnf) - mw.execShell( - db_path + "/bin/mysqldump --opt --default-character-set=utf8 " + name + " | gzip > " + filename) + mw.execShell(db_path + "/bin/mysqldump --opt --default-character-set=utf8 " + + name + " | gzip > " + filename) if not os.path.exists(filename): endDate = time.strftime('%Y/%m/%d %X', time.localtime())