master
samerbam 1 year ago
parent 1eefbff774
commit 36e4ed687b

@ -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}')

Loading…
Cancel
Save