changeset 309:c91c3c04e9cd trunk

The template engine plugin now defaults to automatically reload modified templates, as it was before the introduction of plugin config options in [359].
author cmlenz
date Tue, 17 Oct 2006 14:06:30 +0000
parents ade3089aef54
children a867f4a10d12
files genshi/plugin.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/genshi/plugin.py
+++ b/genshi/plugin.py
@@ -42,7 +42,7 @@
         self.options = options
 
         self.default_encoding = options.get('genshi.default_encoding', 'utf-8')
-        auto_reload = options.get('genshi.auto_reload', '').lower() \
+        auto_reload = options.get('genshi.auto_reload', '1').lower() \
                             in ('1', 'yes', 'true')
         search_path = options.get('genshi.search_path', '').split(':')
         try:
Copyright (C) 2012-2017 Edgewall Software