Skip to content

Commit 72e873f

Browse files
authored
fix: fix double import for openems.__main__ (#22)
previous code has double import and it show below error ``` <frozen runpy>:128: RuntimeWarning: 'openems.__main__' found in sys.modules after import of package 'openems', but prior to execution of 'openems.__main__'; this may result in unpredictable behaviour ```
1 parent f3298af commit 72e873f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

openems/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
"""OpenEMS."""
2-
from . import __main__ # noqa
32
from . import api # noqa

0 commit comments

Comments
 (0)