mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
GwR fix to output empty catalogs when no search results
This commit is contained in:
parent
b5b3712502
commit
781858ca15
@ -83,7 +83,7 @@ class CSV_XML(CatalogPlugin):
|
|||||||
|
|
||||||
if not len(data):
|
if not len(data):
|
||||||
log.error("\nNo matching database entries for search criteria '%s'" % opts.search_text)
|
log.error("\nNo matching database entries for search criteria '%s'" % opts.search_text)
|
||||||
raise SystemExit(1)
|
#raise SystemExit(1)
|
||||||
|
|
||||||
# Get the requested output fields as a list
|
# Get the requested output fields as a list
|
||||||
fields = self.get_output_fields(opts)
|
fields = self.get_output_fields(opts)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user