aboutsummaryrefslogtreecommitdiffstats
path: root/pushover.py
diff options
context:
space:
mode:
authorSam Birch <sam.m.birch@gmail.com>2014-07-22 23:49:18 -0400
committerSam Birch <sam.m.birch@gmail.com>2014-07-22 23:49:18 -0400
commitffe8fc266d755afaf7a8da7daae269977c2152e0 (patch)
treec76141c222cdc2dc830dcab60e73f06781171c11 /pushover.py
parent93f0c3f7a3d420c20295eb2e1da4c2627099e0b3 (diff)
downloadpython-pushover-ffe8fc266d755afaf7a8da7daae269977c2152e0.tar.gz
Should stringify before return as well...
(self.answer is a dict)
Diffstat (limited to 'pushover.py')
-rw-r--r--pushover.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pushover.py b/pushover.py
index fc9942e..282ba32 100644
--- a/pushover.py
+++ b/pushover.py
@@ -86,7 +86,7 @@ class Request:
raise RequestError(self.answer["errors"])
def __str__(self):
- return self.answer
+ return str(self.answer)
class MessageRequest(Request):
"""Class representing a message request to the Pushover API. You do not