Skip to content

Commit 50bdc97

Browse files
committed
??? fix flake8
1 parent 319b7f9 commit 50bdc97

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

OMPython/ModelicaSystem.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
import logging
3939
import numbers
4040
import os
41+
import pathlib
4142
import queue
4243
import textwrap
4344
import threading
@@ -1915,15 +1916,17 @@ def __init__(
19151916
"""
19161917

19171918
self._mod = ModelicaSystem(
1918-
fileName=fileName,
1919-
modelName=modelName,
1920-
lmodel=lmodel,
19211919
commandLineOptions=commandLineOptions,
1922-
variableFilter=variableFilter,
19231920
customBuildDirectory=customBuildDirectory,
19241921
omhome=omhome,
19251922
omc_process=omc_process,
19261923
)
1924+
self._mod.model(
1925+
file=fileName,
1926+
name=modelName,
1927+
libraries=lmodel,
1928+
variable_filter=variableFilter,
1929+
)
19271930

19281931
self._model_name = modelName
19291932

0 commit comments

Comments
 (0)