From 973dbfff4ac10e32833dfce207b125b0550c0f36 Mon Sep 17 00:00:00 2001 From: sam Date: Sat, 10 Jun 2023 21:14:51 +0000 Subject: [PATCH] Update 'root/app/fanficdownload.py' --- root/app/fanficdownload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/app/fanficdownload.py b/root/app/fanficdownload.py index d27374d..c4b2fb2 100644 --- a/root/app/fanficdownload.py +++ b/root/app/fanficdownload.py @@ -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',