From cc3573480e50f4dd58f0e02000ac1a9cf7fb577c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 1 Nov 2014 22:23:36 +0530 Subject: [PATCH] ... --- src/calibre/db/fields.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/db/fields.py b/src/calibre/db/fields.py index adf482808d..020327efb6 100644 --- a/src/calibre/db/fields.py +++ b/src/calibre/db/fields.py @@ -265,7 +265,7 @@ class CompositeField(OneToOneField): def _render_composite_with_cache(self, book_id, mi, formatter, template_cache): ''' INTERNAL USE ONLY. DO NOT USE METHOD DIRECTLY. INSTEAD USE db.composite_for() OR mi.get(). Those methods make sure there is no - risk of infinite recursion when evaluating temoplates that refer to + risk of infinite recursion when evaluating templates that refer to themselves. ''' with self._lock: ans = self._render_cache.get(book_id, None)