Skip to content
Snippets Groups Projects
Commit 35826c86 authored by Pavel Kácha's avatar Pavel Kácha
Browse files

Do not swallow zeroes in id and count, send them to server and let him behave accordingly

parent e3783ff8
No related branches found
No related tags found
No related merge requests found
......@@ -573,11 +573,11 @@ class Client(object):
tag=None, notag=None,
group=None, nogroup=None):
if not id:
if id is None:
id = self._loadID(idstore)
res = self.sendRequest(
"getEvents", id=id, count=count or self.get_events_limit, cat=cat,
"getEvents", id=id, count=self.get_events_limit if count is None else count, cat=cat,
nocat=nocat, tag=tag, notag=notag, group=group, nogroup=nogroup)
if res:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment