Skip to content

Commit 80b5f92

Browse files
committed
[ModelicaSystem] flake8 cleanup
1 parent 30fa7a6 commit 80b5f92

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

OMPython/ModelicaSystem.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
import textwrap
4343
import threading
4444
from typing import Any, cast, Optional
45-
import warnings
4645
import xml.etree.ElementTree as ET
4746

4847
import numpy as np
@@ -1917,7 +1916,7 @@ def prepare(self) -> int:
19171916
}
19181917
)
19191918

1920-
self._mod.setParameters(sim_param_simple)
1919+
self._mod.setParameters(**sim_param_simple)
19211920
mscmd = self._mod.simulate_cmd(
19221921
result_file=resultfile,
19231922
timeout=self._timeout,

0 commit comments

Comments
 (0)