Adjustment to Ouput Argument

- Made the file move to the default anime folder if the output folder does not exists.
master
_iEpic 2019-11-15 15:10:17 -05:00
parent f8da083649
commit 7d414868d4
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class Crunchyroll(object):
output_directory = supporters.path_works.path_creator(anime_name=anime_name)
file_location = str(output_directory) + os.sep + str(file_name).replace(".mp4", ".mkv")
if output is None:
if output is None or not os.path.exists(output):
output = output_directory
if os.path.isfile(file_location):