diff piecrust/configuration.py @ 431:bdeeee777f85

internal: Floats are also allowed in configurations, duh.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 27 Jun 2015 21:45:48 -0700
parents 734f2abf361c
children 32c7c2d219d2
line wrap: on
line diff
--- a/piecrust/configuration.py	Sat Jun 27 08:27:35 2015 -0700
+++ b/piecrust/configuration.py	Sat Jun 27 21:45:48 2015 -0700
@@ -8,7 +8,7 @@
 
 logger = logging.getLogger(__name__)
 
-default_allowed_types = (dict, list, tuple, int, bool, str)
+default_allowed_types = (dict, list, tuple, float, int, bool, str)
 
 
 class ConfigurationError(Exception):