typo in comment

This commit is contained in:
Kovid Goyal 2018-04-02 11:32:59 +05:30
parent 2b487cc2f1
commit 6d72060fa0
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1381,7 +1381,7 @@ class Cache(object):
@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.