aboutsummaryrefslogtreecommitdiffstats
path: root/doc/index.rst
diff options
context:
space:
mode:
authorCrupuk <sebastien.andreatta@gmail.com>2013-07-22 12:59:21 +0200
committerCrupuk <sebastien.andreatta@gmail.com>2013-07-22 12:59:21 +0200
commita5e3f13ed4e49755ee0b9895dc0ba29584eb27f4 (patch)
treea88c45994117e1c487d7394060e4684da2e58985 /doc/index.rst
parent06ba42b2ca1da1d9b5ce74f75ff925ef78bbda03 (diff)
downloadpython-pushover-a5e3f13ed4e49755ee0b9895dc0ba29584eb27f4.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 'doc/index.rst')
0 files changed, 0 insertions, 0 deletions