diff --git a/Changelog.md b/Changelog.md index ffdc9dd..ed08137 100644 --- a/Changelog.md +++ b/Changelog.md @@ -27,4 +27,5 @@ - Fix for #18 [2018.01.02] - Fix for #31 [2018.01.21] - Fix for #39 [2018.01.27] -- Fix for #46 [2018.01.29] \ No newline at end of file +- Fix for #46 [2018.01.29] +- Fix for #45 [2018.01.29] \ No newline at end of file diff --git a/anime_dl/sites/crunchyroll.py b/anime_dl/sites/crunchyroll.py index a0d9c86..ffd1fcf 100644 --- a/anime_dl/sites/crunchyroll.py +++ b/anime_dl/sites/crunchyroll.py @@ -131,7 +131,7 @@ def rtmpDump(self, host, file, url, filename): logging.debug("rtmpDumpCommand : %s" % rtmpDumpCommand) try: - subprocess.call(rtmpDumpCommand) + subprocess.call(rtmpDumpCommand, shell=True) except Exception: print("Please make sure that rtmpdump is present in the PATH or THIS DIRECTORY!") sys.exit() @@ -243,7 +243,7 @@ def singleEpisode(self, url, cookies, token, resolution): os.getcwd(), file_name) logging.debug("ffmpeg_command : %s", ffmpeg_command) - subprocess.call(ffmpeg_command) + subprocess.call(ffmpeg_command, shell=True) subtitles_files = [] for sub_file in glob("*.ass"): @@ -320,7 +320,7 @@ def singleEpisode(self, url, cookies, token, resolution): logging.debug("mkv_merge_command : %s", mkv_merge_command) try: - subprocess.call(mkv_merge_command) + subprocess.call(mkv_merge_command, shell=True) for video_file in glob("*.mkv"): try: diff --git a/docs/Changelog.md b/docs/Changelog.md index ffdc9dd..ed08137 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -27,4 +27,5 @@ - Fix for #18 [2018.01.02] - Fix for #31 [2018.01.21] - Fix for #39 [2018.01.27] -- Fix for #46 [2018.01.29] \ No newline at end of file +- Fix for #46 [2018.01.29] +- Fix for #45 [2018.01.29] \ No newline at end of file