Klaus Demo ~jonashaag/klaus / 0508b7e
Fix errant .split() calls that causes a TypeError when trying to use the wsgi_autoreload component Fixed #116 William Hughes 7 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
5151 if 'KLAUS_HTDIGEST_FILE' in os.environ:
5252 with open(os.environ['KLAUS_HTDIGEST_FILE']) as file:
5353 application = make_app(
54 os.environ['KLAUS_REPOS'].split(),
54 os.environ['KLAUS_REPOS'],
5555 os.environ['KLAUS_SITE_NAME'],
5656 os.environ.get('KLAUS_USE_SMARTHTTP'),
5757 file,
5858 )
5959 else:
6060 application = make_autoreloading_app(
61 os.environ['KLAUS_REPOS'].split(),
61 os.environ['KLAUS_REPOS'],
6262 os.environ['KLAUS_SITE_NAME'],
6363 os.environ.get('KLAUS_USE_SMARTHTTP'),
6464 None,