mirror of
https://github.com/wassname/FanFicFare.git
synced 2026-09-10 11:40:24 +08:00
Fix for 'Add New' collision.
This commit is contained in:
@@ -359,7 +359,7 @@ class FanFictionDownLoaderPlugin(InterfaceAction):
|
||||
identicalbooks = self.db.find_identical_books(mi)
|
||||
print(identicalbooks)
|
||||
addedcount=0
|
||||
if identicalbooks:
|
||||
if identicalbooks and collision != ADDNEW:
|
||||
## more than one match? add to first off the list.
|
||||
## Shouldn't happen--we checked above.
|
||||
book_id = identicalbooks.pop()
|
||||
|
||||
Reference in New Issue
Block a user