mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
typo in comment
This commit is contained in:
parent
2b487cc2f1
commit
6d72060fa0
@ -1381,7 +1381,7 @@ class Cache(object):
|
|||||||
@api
|
@api
|
||||||
def add_format(self, book_id, fmt, stream_or_path, replace=True, run_hooks=True, dbapi=None):
|
def add_format(self, book_id, fmt, stream_or_path, replace=True, run_hooks=True, dbapi=None):
|
||||||
'''
|
'''
|
||||||
Add a format to the specified book. Return True of the format was added successfully.
|
Add a format to the specified book. Return True if the format was added successfully.
|
||||||
|
|
||||||
:param replace: If True replace existing format, otherwise if the format already exists, return False.
|
:param replace: If True replace existing format, otherwise if the format already exists, return False.
|
||||||
:param run_hooks: If True, file type plugins are run on the format before and after being added.
|
:param run_hooks: If True, file type plugins are run on the format before and after being added.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user