mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-03 18:03:37 +00:00
Previous fix to air dates did not take but this fix does correct the issue once causing malformed air dates or no air dates at all.
This commit is contained in:
parent
b3662cfb7b
commit
f3c33279b5
1 changed files with 1 additions and 1 deletions
|
@ -1359,7 +1359,7 @@ class TVEpisode(object):
|
|||
self.description = getattr(myEp, 'overview', "")
|
||||
|
||||
firstaired = getattr(myEp, 'firstaired', None)
|
||||
if firstaired is None or "0000-00-00":
|
||||
if firstaired is None or firstaired is "0000-00-00":
|
||||
firstaired = str(datetime.date.fromordinal(1))
|
||||
rawAirdate = [int(x) for x in firstaired.split("-")]
|
||||
|
||||
|
|
Loading…
Reference in a new issue