From 97e923e76440d992dee33e1eacca48e6a16c9032 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Tue, 14 Nov 2017 10:25:53 -0500 Subject: [PATCH] Test --- list_subtitles.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/list_subtitles.py b/list_subtitles.py index 4226b5880..04e22a172 100644 --- a/list_subtitles.py +++ b/list_subtitles.py @@ -36,7 +36,6 @@ def store_subtitles(file): languages = [] actual_subtitles = [] print file - print file.encode('utf-8') if os.path.exists(file): if os.path.splitext(file)[1] == '.mkv': try: @@ -116,7 +115,7 @@ def series_scan_subtitles(no): c_db.close() for episode in episodes: - store_subtitles(path_replace(episode[0]).encode('utf-8')) + store_subtitles(path_replace(episode[0].encode('utf-8'))) list_missing_subtitles(no) @@ -127,4 +126,4 @@ def new_scan_subtitles(): c_db.close() for episode in episodes: - store_subtitles(path_replace(episode[0]).encode('utf-8')) \ No newline at end of file + store_subtitles(path_replace(episode[0].encode('utf-8'))) \ No newline at end of file