Skip to content

Commit

Permalink
Avoid exception for shows that don't have show_lists in DB (#9050)
Browse files Browse the repository at this point in the history
  • Loading branch information
medariox authored Jan 19, 2021
1 parent c2645b0 commit 5f7bb1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion medusa/tv/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -1530,7 +1530,7 @@ def _load_from_db(self):
# Load external id's from indexer_mappings table.
self.externals = load_externals_from_db(self.indexer, self.series_id)

self.show_lists = sql_results[0]['show_lists']
self.show_lists = sql_results[0]['show_lists'] or 'series'

# Get IMDb_info from database
main_db_con = db.DBConnection()
Expand Down

0 comments on commit 5f7bb1f

Please sign in to comment.