mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-25 14:00:21 +00:00
fix for #91
This commit is contained in:
parent
86d789b930
commit
f218f2e888
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class TVDbObj:
|
||||||
if not tmdb_id:
|
if not tmdb_id:
|
||||||
results = response.xpath("//*[text()='IMDB']/@href")
|
results = response.xpath("//*[text()='IMDB']/@href")
|
||||||
if len(results) > 0:
|
if len(results) > 0:
|
||||||
try: tmdb_id, _ = TVDb.config.convert_from_imdb(util.get_id_from_imdb_url(results[0]))
|
try: tmdb_id, _ = TVDb.config.convert_from_imdb(util.get_id_from_imdb_url(results[0]), language)
|
||||||
except Failed as e: logger.error(e)
|
except Failed as e: logger.error(e)
|
||||||
self.tmdb_id = tmdb_id
|
self.tmdb_id = tmdb_id
|
||||||
self.tvdb_url = tvdb_url
|
self.tvdb_url = tvdb_url
|
||||||
|
|
Loading…
Reference in a new issue