# HG changeset patch
# User Edouard Tisserant
# Date 1540889206 -3600
# Node ID d42ae2877b6ef9d0fb6f9eee162f91721f6b03e3
# Parent  71593d3f880b99b36d1bf774fc725c39925267e5
WAMP : ensure that unicode string is passed for published events IDs

diff -r 71593d3f880b -r d42ae2877b6e runtime/WampClient.py
--- a/runtime/WampClient.py	Tue Oct 30 09:45:47 2018 +0100
+++ b/runtime/WampClient.py	Tue Oct 30 09:46:46 2018 +0100
@@ -347,12 +347,12 @@
 
 def PublishEvent(eventID, value):
     if getWampStatus() == "Attached":
-        _WampSession.publish(eventID, value)
+        _WampSession.publish(unicode(eventID), value)
 
 
 def PublishEventWithOwnID(eventID, value):
     if getWampStatus() == "Attached":
-        _WampSession.publishWithOwnID(eventID, value)
+        _WampSession.publishWithOwnID(unicode(eventID), value)
 
 
 # WEB CONFIGURATION INTERFACE