Commit dccd0e5c authored by Olivier Lantsoght's avatar Olivier Lantsoght
Browse files

Fix small warning when deleting the vtk outputter

Exception ignored in: <bound method MbsVtkOutputter.__del__ of <mbs_vtk.MbsVtkOutputter object at 0x7f3ba325b390>>
Traceback (most recent call last):
  File "mbsysc/MBsysC/build/python/", line 127, in __del__
AttributeError: 'NoneType' object has no attribute 'MbsVtkOutputter_destroy'
parent 41a830a7
......@@ -124,7 +124,8 @@ class MbsVtkOutputter(object):
def __del__(self):
if libMbsVtk:
def set_output_directory(self, output_dir):
libMbsVtk.SetOutputDirectory(self.MVO_ptr, str_to_bytes(output_dir))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment