Skip to content

Commit

Permalink
[fix] sometime it isn't a node
Browse files Browse the repository at this point in the history
  • Loading branch information
Psycojoker committed May 4, 2015
1 parent 2e0e82e commit 22708f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redbaron.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def __repr_html(self):
yield str(num)
yield u"</td>"
yield u"<td>"
yield item._repr_html_()
yield item._repr_html_() if hasattr(item, "_repr_html_") else str(item)
yield u"</td>"
yield u"</tr>"
yield "</table>"
Expand Down

0 comments on commit 22708f6

Please sign in to comment.