Fix for Overwrite mode.

This commit is contained in:
Jim Miller
2015-10-07 10:16:38 -05:00
parent a992829c04
commit 2440f002fd
+1 -1
View File
@@ -197,7 +197,7 @@ def do_download_for_worker(book,options,merge,notification=lambda x,y:x):
if adapter.logfile:
adapter.logfile = adapter.logfile.replace("span id","span notid")
if options['collision'] == OVERWRITE:
if options['collision'] == OVERWRITE and 'fileupdated' in book:
lastupdated=story.getMetadataRaw('dateUpdated')
fileupdated=book['fileupdated']