mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-04 22:24:54 +01:00
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
7d3fc0caba
1 changed files with 1 additions and 1 deletions
|
|
@ -491,7 +491,7 @@ def get_user_template_functions(self):
|
|||
|
||||
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): # {{{
|
||||
|
|
|
|||
Loading…
Reference in a new issue