mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-16 14:25:02 -05:00
Fixed issue with backup/resotre config file variable
This commit is contained in:
parent
10bea520a7
commit
696a1a9f4a
@ -1483,7 +1483,7 @@ class ConfigBackupRestore(MainHandler):
|
||||
finalResult = ''
|
||||
|
||||
if backupDir:
|
||||
source = [os.path.join(sickbeard.DATA_DIR, 'sickbeard.db'), os.path.join(sickbeard.DATA_DIR, 'config.ini')]
|
||||
source = [os.path.join(sickbeard.DATA_DIR, 'sickbeard.db'), sickbeard.CONFIG_FILE]
|
||||
target = os.path.join(backupDir, 'sickrage-' + time.strftime('%Y%m%d%H%M%S') + '.zip')
|
||||
|
||||
if helpers.makeZip(source, target):
|
||||
|
Loading…
Reference in New Issue
Block a user