From 037f00a05adab4e0f4060885683815b80601feae Mon Sep 17 00:00:00 2001 From: meejah Date: Wed, 15 Mar 2017 01:23:36 -0600 Subject: [PATCH] fix serialization --- autobahn/wamp/message.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autobahn/wamp/message.py b/autobahn/wamp/message.py index 0600bf17..312e0614 100644 --- a/autobahn/wamp/message.py +++ b/autobahn/wamp/message.py @@ -1529,8 +1529,8 @@ class Publish(Message): options[u'exclude'] = self.exclude if self.exclude_authid is not None: options[u'exclude_authid'] = self.exclude_authid - if self.eligible_authrole is not None: - options[u'eligible_authrole'] = self.eligible_authrole + if self.exclude_authrole is not None: + options[u'exclude_authrole'] = self.exclude_authrole if self.eligible is not None: options[u'eligible'] = self.eligible if self.eligible_authid is not None: