Avoid shadowing Python typing and retain pending mixed input selections
This commit is contained in:
1 parent
639cf3ee5e
commit
f28a652347
8 files changed
+41
-14
No files matched your search
@@ -10,7 +10,7 @@ from unittest.mock import patch
|
||||
|
||||
ROOT = Path(os.environ["OMARCHY_PATH"])
|
||||
sys.path.insert(0, str(ROOT / "default/input-methods"))
|
||||
spec = importlib.util.spec_from_file_location("typing_setup", ROOT / "default/input-methods/typing.py")
|
||||
spec = importlib.util.spec_from_file_location("typing_setup", ROOT / "default/input-methods/typing_setup.py")
|
||||
typing = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(typing)
|
||||
|
||||
|
||||
Reference in new issue
Block a user