diff --git a/docs/getting-started/first-app/index.html b/docs/getting-started/first-app/index.html index 65799bff..16c4a602 100644 --- a/docs/getting-started/first-app/index.html +++ b/docs/getting-started/first-app/index.html @@ -24,7 +24,7 @@

Now we need a subscriber, z_subscriber.py that can receive the measurements:

import zenoh, time
 
 def listener(sample):
-    print(f"Received {sample.kind} ('{sample.key_expr}': '{sample.payload.deserialize(str)}')")
+    print(f"Received {sample.kind} ('{sample.key_expr}': '{sample.payload.to_string()}')")
     
 if __name__ == "__main__":
     session = zenoh.open(zenoh.Config())