mirror of
https://github.com/davidkeegan/dklrt
synced 2024-11-16 07:47:50 +01:00
Fixed __nonzero__ issue.
This commit is contained in:
parent
5d6c99f801
commit
013af926c9
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue