Update 'root/app/fanficdownload.py'

master
sam 1 year ago
parent cfc536dcd3
commit 2ac752f79e

@ -235,10 +235,10 @@ def downloader(args):
output += log("Exception: {}".format(e), 'FAIL', live) output += log("Exception: {}".format(e), 'FAIL', live)
if not live: if not live:
print(output.strip()) print(output.strip())
try: # try:
# rmtree(loc) # rmtree(loc)
except BaseException: # except BaseException:
pass # pass
with open(inout_file, "a") as fp: with open(inout_file, "a") as fp:
fp.write("{}\n".format(url)) fp.write("{}\n".format(url))

Loading…
Cancel
Save