Fixed __nonzero__ issue.

This commit is contained in:
David Keegan 2020-03-26 22:21:52 +00:00
parent 5d6c99f801
commit 013af926c9

View file

@ -49,7 +49,7 @@ class Transaction:
Rv = ''.join(self._Al[1:])
return Rv
def __nonzero__(self):
def __bool__(self):
return self._Date is not None
def _Log(self, Msg): Misc.Log(Msg, self)