Changeset 13848


Ignore:
Timestamp:
Oct 25, 2019 8:51:28 AM (3 weeks ago)
Author:
aramle
Message:

#5819 Updating to Python 3 compatibility.

File:
1 edited

Legend:

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

    r13847 r13848  
    81008100            FMIL.fmi_import_rmdir(&callbacks, fmu_temp_dir)
    81018101            _handle_load_fmu_exception(fmu, log_data)
    8102             raise FMUException('FMU is a ' + FMIL.fmi2_fmu_kind_to_string(fmu_2_kind) + ' and not a ' + kind.upper())
     8102            raise FMUException("FMU is a {} and not a {}".format(decode(FMIL.fmi2_fmu_kind_to_string(fmu_2_kind)),  decode(kind.upper())
    81038103
    81048104    else:
Note: See TracChangeset for help on using the changeset viewer.