aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGES
diff options
context:
space:
mode:
authorCrupuk <sebastien.andreatta@gmail.com>2013-07-22 13:04:42 +0200
committerCrupuk <sebastien.andreatta@gmail.com>2013-07-22 13:04:42 +0200
commit5f04443ba8796813f12c8a135573637443731e74 (patch)
treea88c45994117e1c487d7394060e4684da2e58985 /CHANGES
parent06ba42b2ca1da1d9b5ce74f75ff925ef78bbda03 (diff)
downloadpython-pushover-5f04443ba8796813f12c8a135573637443731e74.tar.gz
Use true timestamp to avoid "Invalid timestamp"
With the original version i got : python /usr/lib/python2.6/site-packages/pushover.py --token "NU2LC5g2G9jgVR9eHVLYAUmkFuPeky" --client "FWhJFb5wgV35bmzmaxeV976K1WqaFE" "Hello" Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pushover.py", line 227, in <module> url_title=args.url_title, timestamp=True) File "/usr/lib/python2.6/site-packages/pushover.py", line 207, in send_message return MessageRequest(payload) File "/usr/lib/python2.6/site-packages/pushover.py", line 104, in __init__ Request.__init__(self, "post", MESSAGE_URL, payload) File "/usr/lib/python2.6/site-packages/pushover.py", line 86, in __init__ raise RequestError(self.answer["errors"]) __main__.RequestError: ==> timestamp is invalid By casting time.time() the error disappears
Diffstat (limited to 'CHANGES')
0 files changed, 0 insertions, 0 deletions