From 6d72060fa030cf7d592d778619f5c69accb49e9a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 2 Apr 2018 11:32:59 +0530 Subject: [PATCH] typo in comment --- src/calibre/db/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/db/cache.py b/src/calibre/db/cache.py index 5f83b640c4..dd202191f5 100644 --- a/src/calibre/db/cache.py +++ b/src/calibre/db/cache.py @@ -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.