Skip to content

Commit

Permalink
kvui: assert kivy is not imported before kvui (ArchipelagoMW#3823)
Browse files Browse the repository at this point in the history
  • Loading branch information
qwint authored and agilbert1412 committed Aug 24, 2024
1 parent 991314c commit 16ddbde
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kvui.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
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

Expand Down

0 comments on commit 16ddbde

Please sign in to comment.