From 32cf17c638dd6a5cddba951762e5238c1151e255 Mon Sep 17 00:00:00 2001 From: echel0n Date: Sat, 17 May 2014 11:42:37 -0700 Subject: [PATCH] Fixed error when saving blank ratio's --- sickbeard/webserve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py index a9f71da4..cc31f5a5 100644 --- a/sickbeard/webserve.py +++ b/sickbeard/webserve.py @@ -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: