mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Fix loading shows from the DB that have NULL IMDb id.
This commit is contained in:
parent
eaa2560a99
commit
59e547fac3
2 changed files with 2 additions and 1 deletions
|
@ -119,6 +119,7 @@
|
|||
* Fix display IMDb indexer with correct IMDb id on the displayShow page only when IMDb data exists
|
||||
* Fix correctly display show runtime when available on the displayShow page
|
||||
* Fix correctly initialise IMDb id loaded from db
|
||||
* Fix loading shows from the DB that have NULL IMDb id
|
||||
|
||||
### 0.7.2 (2015-03-10 17:05:00 UTC)
|
||||
|
||||
|
|
|
@ -829,7 +829,7 @@ class TVShow(object):
|
|||
self.rls_require_words = sqlResults[0]['rls_require_words']
|
||||
|
||||
if not self.imdbid:
|
||||
imdbid = sqlResults[0]['imdb_id']
|
||||
imdbid = sqlResults[0]['imdb_id'] or ''
|
||||
self.imdbid = ('', imdbid)[2 < len(imdbid)]
|
||||
|
||||
if self.is_anime:
|
||||
|
|
Loading…
Reference in a new issue