From f218f2e8887ac52643d7bcf50f5ee42b57bfd7d9 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Sat, 6 Mar 2021 18:30:53 -0500 Subject: [PATCH] fix for #91 --- modules/tvdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/tvdb.py b/modules/tvdb.py index 23c1caa3..a4e6032c 100644 --- a/modules/tvdb.py +++ b/modules/tvdb.py @@ -45,7 +45,7 @@ class TVDbObj: if not tmdb_id: results = response.xpath("//*[text()='IMDB']/@href") 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) self.tmdb_id = tmdb_id self.tvdb_url = tvdb_url