|
|
@ -944,7 +944,8 @@ def initialize(consoleLogging=True): |
|
|
|
properFinderScheduler.silent = True |
|
|
|
|
|
|
|
autoPostProcesserScheduler = scheduler.Scheduler(autoPostProcesser.PostProcesser(), |
|
|
|
cycleTime=datetime.timedelta(minutes=AUTOPOSTPROCESSER_FREQUENCY), |
|
|
|
cycleTime=datetime.timedelta( |
|
|
|
minutes=AUTOPOSTPROCESSER_FREQUENCY), |
|
|
|
threadName="POSTPROCESSER", |
|
|
|
runImmediately=True) |
|
|
|
if not PROCESS_AUTOMATICALLY: |
|
|
@ -1018,8 +1019,8 @@ def initialize(consoleLogging=True): |
|
|
|
curTorrentProvider.options = check_setting_str(CFG, curTorrentProvider.getID().upper(), |
|
|
|
curTorrentProvider.getID() + '_options', '') |
|
|
|
if hasattr(curTorrentProvider, 'ratio'): |
|
|
|
curTorrentProvider.ratio = float(check_setting_float(CFG, curTorrentProvider.getID().upper(), |
|
|
|
curTorrentProvider.getID() + '_ratio', 0)) |
|
|
|
curTorrentProvider.ratio = check_setting_str(CFG, curTorrentProvider.getID().upper(), |
|
|
|
curTorrentProvider.getID() + '_ratio', '') |
|
|
|
if hasattr(curTorrentProvider, 'minseed'): |
|
|
|
curTorrentProvider.minseed = check_setting_int(CFG, curTorrentProvider.getID().upper(), |
|
|
|
curTorrentProvider.getID() + '_minseed', 0) |
|
|
@ -1436,8 +1437,8 @@ def save_config(): |
|
|
|
new_config[curTorrentProvider.getID().upper()][curTorrentProvider.getID() + '_confirmed'] = int( |
|
|
|
curTorrentProvider.confirmed) |
|
|
|
if hasattr(curTorrentProvider, 'ratio'): |
|
|
|
new_config[curTorrentProvider.getID().upper()][curTorrentProvider.getID() + '_ratio'] = float( |
|
|
|
curTorrentProvider.ratio) |
|
|
|
new_config[curTorrentProvider.getID().upper()][ |
|
|
|
curTorrentProvider.getID() + '_ratio'] = curTorrentProvider.ratio |
|
|
|
if hasattr(curTorrentProvider, 'minseed'): |
|
|
|
new_config[curTorrentProvider.getID().upper()][curTorrentProvider.getID() + '_minseed'] = int( |
|
|
|
curTorrentProvider.minseed) |
|
|
|