mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
kvui: assert kivy is not imported before kvui (#3823)
This commit is contained in:
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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user