Skip to content

Commit

Permalink
issue Nic0#36 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Nic0 committed Jun 3, 2011
1 parent be10429 commit c8e9284
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tyrs/uiTyrs.py
Expand Up @@ -369,9 +369,10 @@ def displayText (self, text, panel, status):
text = text.replace('\n', ' ')

if status.rt:
if hasattr(status.retweeted_status, 'text') \
and len(status.retweeted_status.text) > 0:
text = status.retweeted_status.text
if hasattr(status, 'retweeted_status'):
if hasattr(status.retweeted_status, 'text') \
and len(status.retweeted_status.text) > 0:
text = status.retweeted_status.text
else:
text = text.split(':')[1:]
text = ':'.join(text)
Expand Down

0 comments on commit c8e9284

Please sign in to comment.