mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-08 21:11:59 +02:00
Fix for Overwrite if Newer not working with BG Metadata.
This commit is contained in:
parent
be0d48ec7b
commit
0161991c2a
1 changed files with 1 additions and 1 deletions
|
|
@ -1329,7 +1329,7 @@ class FanFicFarePlugin(InterfaceAction):
|
|||
logger.debug("OVERWRITE file: "+db.format_abspath(book_id, formmapping[fileform], index_is_id=True))
|
||||
fileupdated=datetime.fromtimestamp(os.stat(db.format_abspath(book_id, formmapping[fileform], index_is_id=True))[8])
|
||||
logger.debug("OVERWRITE file updated: %s"%fileupdated)
|
||||
book['updated']=fileupdated
|
||||
book['fileupdated']=fileupdated
|
||||
if not bgmeta:
|
||||
# check make sure incoming is newer.
|
||||
lastupdated=story.getMetadataRaw('dateUpdated')
|
||||
|
|
|
|||
Loading…
Reference in a new issue