equal
deleted
inserted
replaced
345 _PySrv = pysrv |
345 _PySrv = pysrv |
346 |
346 |
347 |
347 |
348 def PublishEvent(eventID, value): |
348 def PublishEvent(eventID, value): |
349 if getWampStatus() == "Attached": |
349 if getWampStatus() == "Attached": |
350 _WampSession.publish(eventID, value) |
350 _WampSession.publish(unicode(eventID), value) |
351 |
351 |
352 |
352 |
353 def PublishEventWithOwnID(eventID, value): |
353 def PublishEventWithOwnID(eventID, value): |
354 if getWampStatus() == "Attached": |
354 if getWampStatus() == "Attached": |
355 _WampSession.publishWithOwnID(eventID, value) |
355 _WampSession.publishWithOwnID(unicode(eventID), value) |
356 |
356 |
357 |
357 |
358 # WEB CONFIGURATION INTERFACE |
358 # WEB CONFIGURATION INTERFACE |
359 WAMP_SECRET_URL = "secret" |
359 WAMP_SECRET_URL = "secret" |
360 webExposedConfigItems = ['active', 'url', 'ID'] |
360 webExposedConfigItems = ['active', 'url', 'ID'] |