Skip to content

Commit

Permalink
Fixed bad function call.
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheus65535 committed May 6, 2021
1 parent 3d7b532 commit 5e30365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bazarr/get_subtitle.py
Expand Up @@ -1180,7 +1180,7 @@ def refine_from_db(path, video):
def refine_from_ffprobe(path, video):
if isinstance(video, Movie):
file_id = database.execute("SELECT movie_file_id FROM table_shows WHERE path = ?",
(path_mappings.path_replace_movie_reverse(path),), only_one=True)
(path_mappings.path_replace_reverse_movie(path),), only_one=True)
else:
file_id = database.execute("SELECT episode_file_id, file_size FROM table_episodes WHERE path = ?",
(path_mappings.path_replace_reverse(path),), only_one=True)
Expand Down

0 comments on commit 5e30365

Please sign in to comment.