Skip to content

Commit 1749d7b

Browse files
committed
fix old string syntax
1 parent 430b7e3 commit 1749d7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dot2tex/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def create_xdot(dotdata, prog='dot', options=''):
5151
try:
5252
error_data = stderr.read()
5353
if error_data:
54-
if b'Error:' in error_data:
54+
if 'Error:' in error_data:
5555
log.error("Graphviz returned with the following message: %s", error_data)
5656
else:
5757
# Graphviz raises a lot of warnings about too small labels,

0 commit comments

Comments
 (0)