mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-07 03:48:02 -05:00
commit
9ac23ae707
@ -454,8 +454,11 @@ class TVRage:
|
|||||||
value = value['#text']
|
value = value['#text']
|
||||||
if key == 'genre':
|
if key == 'genre':
|
||||||
value = value['genre']
|
value = value['genre']
|
||||||
|
if not value:
|
||||||
|
value=[]
|
||||||
if not isinstance(value, list):
|
if not isinstance(value, list):
|
||||||
value = [value]
|
value = [value]
|
||||||
|
value = filter(None, value)
|
||||||
value = '|' + '|'.join(value) + '|'
|
value = '|' + '|'.join(value) + '|'
|
||||||
try:
|
try:
|
||||||
if key == 'firstaired' and value in "0000-00-00":
|
if key == 'firstaired' and value in "0000-00-00":
|
||||||
|
Loading…
Reference in New Issue
Block a user