mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-08 04:18:09 -05:00
Fix Proper instance has no attribute 'size'
When findpropper call pickBestResult the instance as not attribute 'size'. Added a check.
This commit is contained in:
parent
cf6b61e4fe
commit
2985f61cce
@ -242,6 +242,7 @@ def pickBestResult(results, show, quality_list=None):
|
|||||||
logger.INFO)
|
logger.INFO)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if hasattr(cur_result, 'size'):
|
||||||
if sickbeard.USE_FAILED_DOWNLOADS and failed_history.hasFailed(cur_result.name, cur_result.size,
|
if sickbeard.USE_FAILED_DOWNLOADS and failed_history.hasFailed(cur_result.name, cur_result.size,
|
||||||
cur_result.provider.name):
|
cur_result.provider.name):
|
||||||
logger.log(cur_result.name + u" has previously failed, rejecting it")
|
logger.log(cur_result.name + u" has previously failed, rejecting it")
|
||||||
|
Loading…
Reference in New Issue
Block a user