Changeset 13578


Ignore:
Timestamp:
Sep 23, 2019 9:05:37 PM (3 months ago)
Author:
Christian Andersson
Message:

Minor fix for Py3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • PyFMI/trunk/src/pyfmi/fmi.pyx

    r13434 r13578  
    533533            self.file_object = None
    534534
    535     cdef _logger(self, FMIL.jm_string module, int log_level, FMIL.jm_string message) with gil:
     535    cdef _logger(self, FMIL.jm_string c_module, int log_level, FMIL.jm_string c_message) with gil:
     536        module  = decode(c_module)
     537        message = decode(c_message)
     538       
    536539        if self._additional_logger:
    537540            self._additional_logger(module, log_level, message)
Note: See TracChangeset for help on using the changeset viewer.