Update 'root/app/fanficdownload.py'

This commit is contained in:
sam 2023-06-06 20:18:22 +00:00
parent cfc536dcd3
commit 2ac752f79e

View File

@ -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))