1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-13 03:22:22 -05:00

Merge pull request #699 from echel0n/master

Sync master<->dev
This commit is contained in:
echel0n 2014-08-09 01:21:25 -07:00
commit 9ac23ae707

View File

@ -454,8 +454,11 @@ class TVRage:
value = value['#text']
if key == 'genre':
value = value['genre']
if not value:
value=[]
if not isinstance(value, list):
value = [value]
value = filter(None, value)
value = '|' + '|'.join(value) + '|'
try:
if key == 'firstaired' and value in "0000-00-00":