Skip to content

Commit

Permalink
Merge pull request #517 from lorden/remove-unicode
Browse files Browse the repository at this point in the history
Replace unicode with str to make it work on py3
  • Loading branch information
tschellenbach committed Feb 6, 2015
2 parents 447d036 + 6a2821c commit e67ddf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_facebook/api.py
Expand Up @@ -206,7 +206,7 @@ def _request(cls, url, post_data=None, timeout=REQUEST_TIMEOUT,
# These are often temporary errors, so we will retry before
# failing
error_format = 'Facebook encountered a timeout (%ss) or error %s'
logger.warn(error_format, extended_timeout, unicode(e))
logger.warn(error_format, extended_timeout, str(e))
attempts -= 1
if not attempts:
# if we have no more attempts actually raise the error
Expand Down

0 comments on commit e67ddf9

Please sign in to comment.