From 44ec18f8096a9a816a804a24353b17f7942a09a9 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:46:27 -0500 Subject: [PATCH] Test --- list_subtitles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/list_subtitles.py b/list_subtitles.py index 884e44312..0419c3022 100644 --- a/list_subtitles.py +++ b/list_subtitles.py @@ -38,7 +38,7 @@ def list_subtitles(file): def store_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: