diff libervia/server/server.py @ 1217:fe9782391f63

server: fixed value filtering in getConfig
author Goffi <goffi@goffi.org>
date Fri, 16 Aug 2019 17:12:10 +0200
parents b2d067339de3
children c9fc839d304c
line wrap: on
line diff
--- a/libervia/server/server.py	Tue Aug 13 19:12:31 2019 +0200
+++ b/libervia/server/server.py	Fri Aug 16 17:12:10 2019 +0200
@@ -687,7 +687,7 @@
             elif isinstance(value, dict):
                 value = {k:v_filter(v) for k,v in list(value.items())}
             elif value is not None:
-                value = v_filter(v)
+                value = v_filter(value)
         return value
 
     def _namespacesGetCb(self, ns_map):