1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04: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 = '' finalResult = ''
if backupDir: 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') target = os.path.join(backupDir, 'sickrage-' + time.strftime('%Y%m%d%H%M%S') + '.zip')
if helpers.makeZip(source, target): if helpers.makeZip(source, target):