1
0
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:
echel0n 2014-05-17 11:42:37 -07:00
parent 55f27c4f40
commit 32cf17c638

View File

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