Skip to content

Commit

Permalink
Merge pull request #2 from bolau/master
Browse files Browse the repository at this point in the history
Fixing ascii/unicode problem with Python2
  • Loading branch information
akimach authored Feb 27, 2017
2 parents f10219a + 93287c5 commit 1f972a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tfgraphviz/graphviz_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def edge_label(shape):
else: label = "%i" % shape[0]
for s in shape[1:]:
if s is None: label += "×?"
else: label += "×%i" % s
else: label += u"×%i" % s
return label


Expand Down

0 comments on commit 1f972a3

Please sign in to comment.