Skip to content

Commit

Permalink
Fix for #45
Browse files Browse the repository at this point in the history
Fixes #45
  • Loading branch information
Xonshiz committed Apr 29, 2018
1 parent f34c72c commit e2d37d6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
- Fix for #46 [2018.01.29]
- Fix for #45 [2018.01.29]
6 changes: 3 additions & 3 deletions anime_dl/sites/crunchyroll.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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"):
Expand Down Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion docs/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
- Fix for #46 [2018.01.29]
- Fix for #45 [2018.01.29]

0 comments on commit e2d37d6

Please sign in to comment.