kvui: assert kivy is not imported before kvui (#3823)
This commit is contained in:
parent
6f617e302d
commit
5c5f2ffc94
2
kvui.py
2
kvui.py
|
@ -5,6 +5,8 @@ import typing
|
||||||
import re
|
import re
|
||||||
from collections import deque
|
from collections import deque
|
||||||
|
|
||||||
|
assert "kivy" not in sys.modules, "kvui should be imported before kivy for frozen compatibility"
|
||||||
|
|
||||||
if sys.platform == "win32":
|
if sys.platform == "win32":
|
||||||
import ctypes
|
import ctypes
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue