1
0
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:
echel0n 2014-06-24 16:47:52 -07:00
parent 10bea520a7
commit 696a1a9f4a

View File

@ -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):