Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Fixed Non-ASCII printable representation in Trend #249

Merged
merged 1 commit into from
Oct 11, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion twitter/trend.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def __init__(self, name=None, query=None, timestamp=None, url=None):
self.url = url

def __repr__(self):
return self.name
return self.name.encode('utf-8')

def __str__(self):
return 'Name: %s\nQuery: %s\nTimestamp: %s\nSearch URL: %s\n' % (
Expand Down