diff options
| author | Sam Birch <sam.m.birch@gmail.com> | 2014-07-22 23:49:18 -0400 |
|---|---|---|
| committer | Sam Birch <sam.m.birch@gmail.com> | 2014-07-22 23:49:18 -0400 |
| commit | ffe8fc266d755afaf7a8da7daae269977c2152e0 (patch) | |
| tree | c76141c222cdc2dc830dcab60e73f06781171c11 | |
| parent | 93f0c3f7a3d420c20295eb2e1da4c2627099e0b3 (diff) | |
| download | python-pushover-ffe8fc266d755afaf7a8da7daae269977c2152e0.tar.gz | |
Should stringify before return as well...
(self.answer is a dict)
| -rw-r--r-- | pushover.py | 2 |
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 |
