mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #2076515 [calibredb list command ignores fields option](https://bugs.launchpad.net/calibre/+bug/2076515)
This commit is contained in:
parent
408193c895
commit
34f7b9eaf4
@ -170,7 +170,7 @@ def do_list(
|
||||
):
|
||||
if sort_by is None:
|
||||
ascending = True
|
||||
if dbctx.is_remote and (template or template_file or template_title):
|
||||
if dbctx.is_remote and (template or template_file):
|
||||
raise SystemExit(_('The use of templates is disallowed when connecting to remote servers for security reasons'))
|
||||
if 'template' in (f.strip() for f in fields):
|
||||
if template_file:
|
||||
|
Loading…
x
Reference in New Issue
Block a user