From 8f50ddd5f79474b4ce56f46b05b5bfb99a8f3709 Mon Sep 17 00:00:00 2001 From: Xonshiz Date: Wed, 27 Dec 2017 13:13:25 +0530 Subject: [PATCH] Fix for #26 Fix for #26 --- .gitignore | 1 + anime_dl/sites/crunchyroll.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 74f582f..0a2c6a3 100644 --- a/.gitignore +++ b/.gitignore @@ -66,3 +66,4 @@ anime_dl/build/__main__/warn__main__.txt anime_dl/sites/funimation - Copy.py *.old *.ttf +*.html diff --git a/anime_dl/sites/crunchyroll.py b/anime_dl/sites/crunchyroll.py index 162a1d3..255f0db 100644 --- a/anime_dl/sites/crunchyroll.py +++ b/anime_dl/sites/crunchyroll.py @@ -272,7 +272,7 @@ def singleEpisode(self, url, cookies, token, resolution): subtitles_files.append("--track-name 0:Italiano --ui-language it --default-track 0:no --sub-charset 0:utf-8 " + '"' + str( os.path.realpath(sub_file)) + '" ') elif sub_file.endswith(".trTR.ass"): - subtitles_files.append("--track-name 0:Turkce--ui-language tr --default-track 0:no --sub-charset 0:utf-8 " + '"' + str( + subtitles_files.append("--track-name 0:Turkce --ui-language tr --default-track 0:no --sub-charset 0:utf-8 " + '"' + str( os.path.realpath(sub_file)) + '" ') else: subtitles_files.append("--track-name 0:und --default-track 0:no --sub-charset 0:utf-8 " + '"' + str(