Fix season pack search errors

This commit is contained in:
Adam 2015-04-15 12:17:28 +08:00
parent 3e8051c0b0
commit ee0dfbc357
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
### 0.8.1 (2015-04-15 04:16:00 UTC)
* Fix season pack search errors
### 0.8.0 (2015-04-13 14:00:00 UTC)
* Change Wombles to use tv-dvd section

View file

@ -166,9 +166,9 @@ def snatchEpisode(result, endStatus=SNATCHED):
else:
curEpObj.status = Quality.compositeStatus(endStatus, result.quality)
result = curEpObj.get_sql()
if None is not result:
sql_l.append(result)
item = curEpObj.get_sql()
if None is not item:
sql_l.append(item)
if curEpObj.status not in Quality.DOWNLOADED:
notifiers.notify_snatch(curEpObj._format_pattern('%SN - %Sx%0E - %EN - %QN'))