From f2dd34c64eeebde4f192c247611e9cdc818e7de6 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Mon, 8 Oct 2012 11:02:33 -0500 Subject: [PATCH] Fix for identifiers search, sid=56 vs sid=561. --- calibre-plugin/__init__.py | 2 +- calibre-plugin/ffdl_plugin.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/calibre-plugin/__init__.py b/calibre-plugin/__init__.py index 6add90ea..33d4cbff 100644 --- a/calibre-plugin/__init__.py +++ b/calibre-plugin/__init__.py @@ -27,7 +27,7 @@ class FanFictionDownLoaderBase(InterfaceActionBase): description = 'UI plugin to download FanFiction stories from various sites.' supported_platforms = ['windows', 'osx', 'linux'] author = 'Jim Miller' - version = (1, 6, 12) + version = (1, 6, 13) minimum_calibre_version = (0, 8, 57) #: This field defines the GUI plugin class that contains all the code diff --git a/calibre-plugin/ffdl_plugin.py b/calibre-plugin/ffdl_plugin.py index 6c35230b..a0a81e2e 100644 --- a/calibre-plugin/ffdl_plugin.py +++ b/calibre-plugin/ffdl_plugin.py @@ -541,7 +541,7 @@ make_firstimage_cover:true print("from URL(%s)"%url) # try to find by identifier url first. - searchstr = 'identifiers:"=url:%s"'%url.replace(":","|") + searchstr = 'identifiers:"=url:=%s"'%url.replace(":","|") identicalbooks = db.search_getting_ids(searchstr, None) if len(identicalbooks) < 1: # find dups