tmp (wokkel): fixes RSM when maxItems is 0
This commit is contained in:
parent
536d1131e0
commit
c831e8f851
1 changed files with 1 additions and 1 deletions
|
|
@ -316,7 +316,7 @@ class PubSubClient(pubsub.PubSubClient):
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue