Skip to content

Commit

Permalink
Use unicode for Tweepy error messges.
Browse files Browse the repository at this point in the history
Closes tweepy#38
  • Loading branch information
joshthecoder committed Oct 17, 2010
1 parent 8c900db commit 778d88b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tweepy/error.py
Expand Up @@ -6,7 +6,7 @@ class TweepError(Exception):
"""Tweepy exception"""

def __init__(self, reason, response=None):
self.reason = str(reason)
self.reason = unicode(reason)
self.response = response

def __str__(self):
Expand Down

0 comments on commit 778d88b

Please sign in to comment.