diff --git a/warden3/warden_client/warden_client.py b/warden3/warden_client/warden_client.py index b3814c2714f896c57fc91fa0fd89fcb23a74a811..f03c5f92dae5aa290166f72304f56e4e6daaa332 100644 --- a/warden3/warden_client/warden_client.py +++ b/warden3/warden_client/warden_client.py @@ -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: