1
0
mirror of https://github.com/pypiserver/pypiserver synced 2025-02-22 19:19:37 +01:00

FIX #124: Forgotten paste bad root attribute.

- Obviously a TC is needed there.
This commit is contained in:
Kostis Anagnostopoulos 2016-03-20 19:54:05 +01:00
parent b1b36f3a13
commit e5798be530

@ -149,7 +149,7 @@ def paste_app_factory(global_config, **local_conf):
root = local_conf.get("root")
if root:
c.root = [_make_root(x) for x in root.split("\n") if x.strip()]
c['root'] = [_make_root(x) for x in root.split("\n") if x.strip()]
upd_bool_attr_from_dict_str_item(c, 'redirect_to_fallback', local_conf)
upd_bool_attr_from_dict_str_item(c, 'overwrite', local_conf)