We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 273946e commit 7cc2388Copy full SHA for 7cc2388
raincoat/raincoat.py
@@ -111,7 +111,10 @@ def prompt_torrent():
111
shared.DOWNLOAD = len(shared.TORRENTS)
112
for i in range(shared.DOWNLOAD):
113
download(shared.TORRENTS[i].id)
114
- exit()
+ if shared.TERM_FILE != None:
115
+ return
116
+ else:
117
+ exit()
118
else:
119
print("Search did not yield any results.")
120
exit()
@@ -239,6 +242,7 @@ def main():
239
242
f = open(shared.TERM_FILE, 'r')
240
243
for line in f.readlines():
241
244
search(line.strip())
245
246
elif not args.search:
247
print("Nothing to search for.")
248
0 commit comments