[Cython] Fix a bug writing graphviz input files
This commit is contained in:
parent
66981a244d
commit
39adabb820
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ cdef class ReactionPathDiagram:
|
|||
Write the reaction path diagram formatted for use by Graphviz's 'dot'
|
||||
program to the file named *filename*.
|
||||
"""
|
||||
open(filename, 'wb').write(self.get_dot())
|
||||
open(filename, 'wb').write(self.get_dot().encode('utf-8'))
|
||||
|
||||
def get_data(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue