From 1b1fef6f628703a0e88f5522c63a29a293ff2a4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Thu, 7 Nov 2019 23:43:37 -0500 Subject: [PATCH] WIP --- bazarr/get_subtitle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr/get_subtitle.py b/bazarr/get_subtitle.py index 28a923504..d743dce54 100644 --- a/bazarr/get_subtitle.py +++ b/bazarr/get_subtitle.py @@ -931,7 +931,7 @@ def refine_from_db(path, video): elif isinstance(video, Movie): data = database.execute("SELECT title, year, alternativeTitles, format, resolution, video_codec, audio_codec, " "imdbId FROM table_movies WHERE path = ?", - (text_type(path_replace_reverse_movie(path)),), only_one=True) + (path_replace_reverse_movie(path),), only_one=True) if data: video.title = re.sub(r'(\(\d\d\d\d\))', '', data['title'])