remove un-needed if
This commit is contained in:
parent
36e4ed687b
commit
d3d6b346fe
@ -179,7 +179,7 @@ def downloader(args):
|
||||
cur = get_files(loc, '.epub', True)[0]
|
||||
if len(cur) > 0:
|
||||
cur = cur[0]
|
||||
elif (len(cur) == 0):
|
||||
else :
|
||||
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