summaryrefslogtreecommitdiff
path: root/src/cython/cython/tangential_complex.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'src/cython/cython/tangential_complex.pyx')
-rw-r--r--src/cython/cython/tangential_complex.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cython/cython/tangential_complex.pyx b/src/cython/cython/tangential_complex.pyx
index 52bd8111..d55bb050 100644
--- a/src/cython/cython/tangential_complex.pyx
+++ b/src/cython/cython/tangential_complex.pyx
@@ -70,7 +70,7 @@ cdef class TangentialComplex:
def __cinit__(self, points=None, off_file=''):
if off_file is not '':
if os.path.isfile(off_file):
- self.thisptr = new Tangential_complex_interface(off_file, True)
+ self.thisptr = new Tangential_complex_interface(str.encode(off_file), True)
else:
print("file " + off_file + " not found.")
else: