use getboolean for boolean options
@@ -41,8 +41,8 @@ if not os.path.exists(TILES_ROOT):
if not os.path.exists(CACHE_ROOT):
os.mkdir(CACHE_ROOT)
-PUBLIC_EDITOR = config.get('c3nav', 'editor', fallback=True)
-PUBLIC_BASE_MAPDATA = config.get('c3nav', 'public_base_mapdata', fallback=False)
+PUBLIC_EDITOR = config.getboolean('c3nav', 'editor', fallback=True)
+PUBLIC_BASE_MAPDATA = config.getboolean('c3nav', 'public_base_mapdata', fallback=False)
if config.has_option('django', 'secret'):
SECRET_KEY = config.get('django', 'secret')
