diff options
| author | Sam Birch <sam.m.birch@gmail.com> | 2014-07-22 23:44:50 -0400 |
|---|---|---|
| committer | Sam Birch <sam.m.birch@gmail.com> | 2014-07-22 23:44:50 -0400 |
| commit | 93f0c3f7a3d420c20295eb2e1da4c2627099e0b3 (patch) | |
| tree | c5b9d69bcc1bfef82f7535a06ceb74431be2cd20 /pushover.py | |
| parent | e057972cf477d2846535b9514d964dc00aafcf4a (diff) | |
| download | python-pushover-93f0c3f7a3d420c20295eb2e1da4c2627099e0b3.tar.gz | |
print -> return
I think this is supposed to be a return rather than a print. Print returns none and string serialization fails.
Diffstat (limited to 'pushover.py')
| -rw-r--r-- | pushover.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pushover.py b/pushover.py index f6f8e98..fc9942e 100644 --- a/pushover.py +++ b/pushover.py @@ -86,7 +86,7 @@ class Request: raise RequestError(self.answer["errors"]) def __str__(self): - print self.answer + return self.answer class MessageRequest(Request): """Class representing a message request to the Pushover API. You do not |
