mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #872961 (calibredb add_format does not refresh running calibre instance)
This commit is contained in:
parent
e802938b5e
commit
af087b2554
@ -368,6 +368,7 @@ def command_remove(args, dbpath):
|
||||
|
||||
def do_add_format(db, id, fmt, path):
|
||||
db.add_format_with_hooks(id, fmt.upper(), path, index_is_id=True)
|
||||
send_message()
|
||||
|
||||
def add_format_option_parser():
|
||||
return get_parser(_(
|
||||
|
Loading…
x
Reference in New Issue
Block a user