Commit cb5551dc authored by echel0n's avatar echel0n
Browse files

Refactred "Malformed air date" warnings to debug messages during loading data...

Refactred "Malformed air date" warnings to debug messages during loading data from series providers for episodes
parent 1ff13fc3
......@@ -570,7 +570,7 @@ class TVEpisode(object):
rawAirdate = [int(x) for x in str(firstaired).split("-")]
self.airdate = datetime.date(rawAirdate[0], rawAirdate[1], rawAirdate[2])
except (ValueError, IndexError, TypeError):
sickrage.app.log.warning(
sickrage.app.log.debug(
f"Malformed air date of {firstaired} retrieved from {self.show.series_provider.name} for ({self.show.name} - S{int(season or 0):02d}E{int(episode or 0):02d})")
# if I'm incomplete on the series_provider_id but I once was complete then just delete myself from the DB for now
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment