mirror of
https://github.com/vikstrous/pirate-get
synced 2025-01-24 12:14:20 +01:00
Remove useless statements
This commit is contained in:
parent
f74835f9ff
commit
92bf01bd10
@ -500,22 +500,17 @@ def main():
|
|||||||
"[f<links>]: Get files",
|
"[f<links>]: Get files",
|
||||||
"[p] Print search results",
|
"[p] Print search results",
|
||||||
"[q] Quit", sep="\n")
|
"[q] Quit", sep="\n")
|
||||||
continue
|
|
||||||
elif code == 'q':
|
elif code == 'q':
|
||||||
print("User Cancelled.")
|
print("User Cancelled.")
|
||||||
exit()
|
break
|
||||||
elif code == 'd':
|
elif code == 'd':
|
||||||
print_descriptions(choices)
|
print_descriptions(choices)
|
||||||
continue
|
|
||||||
elif code == 'f':
|
elif code == 'f':
|
||||||
print_fileLists(choices)
|
print_fileLists(choices)
|
||||||
continue
|
|
||||||
elif code == 'p':
|
elif code == 'p':
|
||||||
print_search_results()
|
print_search_results()
|
||||||
continue
|
|
||||||
elif not l:
|
elif not l:
|
||||||
print('No links entered!')
|
print('No links entered!')
|
||||||
continue
|
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user