Commit 7b3ae923 authored by echel0n's avatar echel0n
Browse files

Fixed issue with specials not being retrieved from series providers

parent f7ad7016
......@@ -188,7 +188,7 @@ class SRDatabase(object):
if db_version < alembic_version:
sickrage.app.log.info('Upgrading {} database to v{}'.format(self.name, alembic_version))
# self.backup(backup_filename)
self.backup(backup_filename)
alembic.command.upgrade(self.get_alembic_config(), 'head')
......
......@@ -322,7 +322,7 @@ class TheTVDB(SeriesProvider):
sickrage.app.log.debug("[{}]: Unable to locate show on TheTVDB".format(sid))
return None
series_info.update((k, v) for k, v in resp['data'].items() if v)
series_info.update((k, v) for k, v in resp['data'].items() if v != '')
# get series data
for k, v in series_info.items():
......@@ -357,7 +357,7 @@ class TheTVDB(SeriesProvider):
if result['id'] not in episode_info:
episode_info[result['id']] = {}
episode_info[result['id']].update((k, v) for k, v in result.items() if v)
episode_info[result['id']].update((k, v) for k, v in result.items() if v != '')
page += 1
......
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