mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -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:
|
try:
|
||||||
curTorrentProvider.ratio = float(str(kwargs[curTorrentProvider.getID() + '_ratio']).strip())
|
curTorrentProvider.ratio = float(str(kwargs[curTorrentProvider.getID() + '_ratio']).strip())
|
||||||
except:
|
except:
|
||||||
curTorrentProvider.ratio = None
|
curTorrentProvider.ratio = 0
|
||||||
|
|
||||||
if hasattr(curTorrentProvider, 'digest'):
|
if hasattr(curTorrentProvider, 'digest'):
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user