diff twisted/plugins/libervia_server.py @ 1132:0cafb79ced6d

server: use site names in _moveFirstLevelToDict to better distinguish values for default site at first level + better handling of default menu
author Goffi <goffi@goffi.org>
date Tue, 18 Sep 2018 21:16:53 +0200
parents 6414fd795df4
children 4426c328eb83
line wrap: on
line diff
--- a/twisted/plugins/libervia_server.py	Tue Sep 18 21:16:51 2018 +0200
+++ b/twisted/plugins/libervia_server.py	Tue Sep 18 21:16:53 2018 +0200
@@ -160,7 +160,7 @@
     ["empty_password_allowed_warning_dangerous_list", None, "", None],
     ["vhosts_dict", None, {}, None],
     ["url_redirections_dict", None, {}, None],
-    ["menu_json", None, C.DEFAULT_MENU, None],
+    ["menu_json", None, {u'': C.DEFAULT_MENU}, None],
     ["tickets_trackers_json", None, None, None],
     ["mr_handlers_json", None, None, None],
 ]