From fed64f9a172e38d68344827b65d2047d75400577 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 27 Apr 2011 15:01:08 -0600 Subject: [PATCH] ... --- src/calibre/gui2/preferences/template_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/preferences/template_functions.py b/src/calibre/gui2/preferences/template_functions.py index 2c9547baf4..fcb4c87372 100644 --- a/src/calibre/gui2/preferences/template_functions.py +++ b/src/calibre/gui2/preferences/template_functions.py @@ -74,7 +74,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form): def initialize(self): try: - json.loads(P('template-functions.json', data=True, + self.builtin_source_dict = json.loads(P('template-functions.json', data=True, allow_user_override=False).decode('utf-8')) except: traceback.print_exc()