Update 'root/app/fanficdownload.py'

This commit is contained in:
sam 2023-06-10 21:14:51 +00:00
parent 53b9081d16
commit 973dbfff4a

View File

@ -145,7 +145,7 @@ def downloader(args):
res = check_output(
'calibredb export {} --dont-save-cover --dont-write-opf --single-dir --to-dir "{}" {}'.format(
storyId, loc, path), shell=True, stdin=PIPE, stderr=STDOUT).decode('utf-8')
cur = get_files(loc, ".epub", True)[0]
cur = get_files(loc, ".epub", True)[0] # This causes the same book to be duplicated a whole bunch of times. TODO: Find solution.
output += log(
'\tDownloading with fanficfare, updating file "{}"'.format(cur),
'GREEN',