This commit is contained in:
samerbam 2023-06-12 15:45:09 -04:00
parent 1eefbff774
commit 36e4ed687b

View File

@ -179,7 +179,7 @@ def downloader(args):
cur = get_files(loc, '.epub', True)[0] cur = get_files(loc, '.epub', True)[0]
if len(cur) > 0: if len(cur) > 0:
cur = cur[0] cur = cur[0]
else len(cur) == 0: elif (len(cur) == 0):
raise Exception(f'Could not find .epub, work likely did not download. Exception raised on get_files(loc, ".epub", True)[0]. result from command is: {res}') raise Exception(f'Could not find .epub, work likely did not download. Exception raised on get_files(loc, ".epub", True)[0]. result from command is: {res}')