mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-29 08:36:25 +01:00
typo in comment
This commit is contained in:
parent
2b487cc2f1
commit
6d72060fa0
1 changed files with 1 additions and 1 deletions
|
|
@ -1381,7 +1381,7 @@ def _do_add_format(self, book_id, fmt, stream, name=None, mtime=None):
|
|||
@api
|
||||
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 run_hooks: If True, file type plugins are run on the format before and after being added.
|
||||
|
|
|
|||
Loading…
Reference in a new issue