Commit 778d88bb authored by Josh Roesslein's avatar Josh Roesslein
Browse files

Use unicode for Tweepy error messges.

Closes #38
parent 8c900db5
......@@ -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):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment