From 783cc067fd647186650f4dea16cb8a1ec1f86a51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Mon, 27 Nov 2017 22:45:00 -0500 Subject: [PATCH] Test --- list_subtitles.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/list_subtitles.py b/list_subtitles.py index cd003d075..884e44312 100644 --- a/list_subtitles.py +++ b/list_subtitles.py @@ -14,7 +14,7 @@ from get_general_settings import * def list_subtitles(file): languages = [] actual_subtitles = [] - if os.path.exists(file): + if os.path.exists(unicode(file)): if os.path.splitext(file)[1] == '.mkv': try: with open(file, 'rb') as f: @@ -38,7 +38,6 @@ def list_subtitles(file): def store_subtitles(file): languages = [] actual_subtitles = [] - print file if os.path.exists(file): if os.path.splitext(file)[1] == '.mkv': try: