Little fix

This commit is contained in:
Antonio de la Rosa 2018-01-26 02:18:25 +01:00
parent 3c6288a097
commit cdf5336810
2 changed files with 5 additions and 1 deletions

View file

@ -51,6 +51,8 @@ def env_theme(module, cache_enabled=True, cache_impl='', cache_args={}, module_d
standard_templates=path.dirname(__file__)+'/templates'
module_directory+='/'+module
module_templates=module+'/templates'
theme_templates='themes/'+config.theme+'/templates'

View file

@ -108,7 +108,9 @@ def get_session():
if not cookie:
s=generate_session()
if len(request.environ)>0:
s=generate_session()
else: