Skip to content

Commit

Permalink
fix #120
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Oct 14, 2015
1 parent ee98220 commit 158df14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v6/graphviz/graphviz.py
Expand Up @@ -89,7 +89,7 @@ def run(self):
node_list = []
try:
p = Popen([self.dot_path, '-Tsvg'], stdin=PIPE, stdout=PIPE, stderr=PIPE)
svg_data, errors = p.communicate(input=data)
svg_data, errors = p.communicate(input=data.encode('utf8'))
code = p.wait()
if code: # Some error
document = self.state.document
Expand Down

0 comments on commit 158df14

Please sign in to comment.