diff options
| author | Crupuk <sebastien.andreatta@gmail.com> | 2013-08-26 16:03:10 +0200 |
|---|---|---|
| committer | Crupuk <sebastien.andreatta@gmail.com> | 2013-08-26 16:03:10 +0200 |
| commit | c69b2b79b81a12f3d15b6f557d63384ff23f6433 (patch) | |
| tree | 0ff7701474f4d2ed63606263a25a67b0a3fecd89 /CHANGES | |
| parent | a5e3f13ed4e49755ee0b9895dc0ba29584eb27f4 (diff) | |
| download | python-pushover-c69b2b79b81a12f3d15b6f557d63384ff23f6433.tar.gz | |
Update condition for timestamp
We need to test boolean only :
>>> key="timestamp"
>>> value="123456"
>>>
>>> if key == "timestamp" and value:
... print "Value <> True but, still true"
... else:
... print "value <> True and false"
...
Value <> True but, still true
Diffstat (limited to 'CHANGES')
0 files changed, 0 insertions, 0 deletions
