Mercurial > libervia-backend
changeset 1515:30ba7cac1dd2
tmp (wokkel): fixes RSM when maxItems is 0
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 10 Sep 2015 15:04:16 +0200 |
parents | bad2e0e3fe70 |
children | afa0894dcc71 |
files | src/tmp/wokkel/rsm.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/tmp/wokkel/rsm.py Thu Sep 10 09:07:32 2015 +0200 +++ b/src/tmp/wokkel/rsm.py Thu Sep 10 15:04:16 2015 +0200 @@ -316,7 +316,7 @@ request = PubSubRequest('items') # that's a rsm.PubSubRequest instance request.recipient = service request.nodeIdentifier = nodeIdentifier - if maxItems: + if maxItems is not None: request.maxItems = str(int(maxItems)) request.subscriptionIdentifier = subscriptionIdentifier request.sender = sender