Skip to content
Snippets Groups Projects
Commit c9990f2d authored by Jonas Haag's avatar Jonas Haag
Browse files

Merge pull request #117 from insertjokehere/issue_116

Fix errant .split() calls that causes a TypeError
parents e71388b6 0508b7e5
No related branches found
Tags 37.183.2
No related merge requests found
......@@ -52,14 +52,14 @@ def make_autoreloading_app(repos_root, *args, **kwargs):
if 'KLAUS_HTDIGEST_FILE' in os.environ:
with open(os.environ['KLAUS_HTDIGEST_FILE']) as file:
application = make_app(
os.environ['KLAUS_REPOS'].split(),
os.environ['KLAUS_REPOS'],
os.environ['KLAUS_SITE_NAME'],
os.environ.get('KLAUS_USE_SMARTHTTP'),
file,
)
else:
application = make_autoreloading_app(
os.environ['KLAUS_REPOS'].split(),
os.environ['KLAUS_REPOS'],
os.environ['KLAUS_SITE_NAME'],
os.environ.get('KLAUS_USE_SMARTHTTP'),
None,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment