Update 'root/app/fanficdownload.py'

master
sam 1 year ago
parent 53b9081d16
commit 973dbfff4a

@ -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',

Loading…
Cancel
Save