Skip to content

Commit 7f5b746

Browse files
committed
py3 unicode/bytes issue
1 parent 080dabc commit 7f5b746

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydeps/pydeps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def _pydeps(trgt, **kw):
4343
if not no_output:
4444
svg = dot.call_graphviz_dot(dotsrc, fmt)
4545
if fmt == 'svg':
46-
svg = svg.replace('</title>', '</title><style>.edge>path:hover{stroke-width:8}</style>')
46+
svg = svg.replace(b'</title>', b'</title><style>.edge>path:hover{stroke-width:8}</style>')
4747

4848
with open(output, 'wb') as fp:
4949
cli.verbose("Writing output to:", output)

0 commit comments

Comments
 (0)