mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Fixed error when saving blank ratio's
This commit is contained in:
parent
55f27c4f40
commit
32cf17c638
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue