fix else
This commit is contained in:
parent
1eefbff774
commit
36e4ed687b
@ -179,7 +179,7 @@ def downloader(args):
|
||||
cur = get_files(loc, '.epub', True)[0]
|
||||
if len(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}')
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user