kvui: assert kivy is not imported before kvui (#3823)

This commit is contained in:
qwint 2024-08-23 19:12:01 -05:00 committed by GitHub
parent 6f617e302d
commit 5c5f2ffc94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@ import typing
import re
from collections import deque
assert "kivy" not in sys.modules, "kvui should be imported before kivy for frozen compatibility"
if sys.platform == "win32":
import ctypes