This commit is contained in:
Kovid Goyal 2021-06-13 19:23:48 +05:30
commit 7d3fc0caba
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -491,7 +491,7 @@ class DB(object):
def set_user_template_functions(self, user_formatter_functions):
self._user_template_functions = user_formatter_functions
self._template_functions = formatter_functions().get_builtins().copy()
self._template_functions = formatter_functions().get_builtins_and_aliases().copy()
self._template_functions.update(user_formatter_functions)
def initialize_prefs(self, default_prefs, restore_all_prefs, progress_callback): # {{{