diff libervia/server/pages_tools.py @ 1447:907f519faaf0

pages: pubsub's `extra` is now serialised, following backend change
author Goffi <goffi@goffi.org>
date Thu, 29 Jul 2021 23:01:29 +0200
parents 822bd0139769
children 106bae41f5c8
line wrap: on
line diff
--- a/libervia/server/pages_tools.py	Thu Jul 29 22:59:08 2021 +0200
+++ b/libervia/server/pages_tools.py	Thu Jul 29 23:01:29 2021 +0200
@@ -1,7 +1,6 @@
 #!/usr/bin/env python3
 
-
-# Libervia: a Salut à Toi frontend
+# Libervia Web frontend
 # Copyright (C) 2011-2021 Jérôme Poisson <goffi@goffi.org>
 
 # This program is free software: you can redistribute it and/or modify
@@ -43,7 +42,9 @@
         else exception will be raised
     """
     try:
-        d = self.host.bridgeCall("mbGet", service, node, C.NO_LIMIT, [], {}, profile)
+        d = self.host.bridgeCall(
+            "mbGet", service, node, C.NO_LIMIT, [], data_format.serialise({}), profile
+        )
     except Exception as e:
         if not pass_exceptions:
             raise e