mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 03:22:22 -05:00
Fixed error when saving blank ratio's
This commit is contained in:
parent
55f27c4f40
commit
32cf17c638
@ -1564,7 +1564,7 @@ class ConfigProviders:
|
||||
try:
|
||||
curTorrentProvider.ratio = float(str(kwargs[curTorrentProvider.getID() + '_ratio']).strip())
|
||||
except:
|
||||
curTorrentProvider.ratio = None
|
||||
curTorrentProvider.ratio = 0
|
||||
|
||||
if hasattr(curTorrentProvider, 'digest'):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user