Skip to content

Commit 7bedaae

Browse files
committed
Fix: "Import statement position to prevent errors on non windows machines"
By RedHawk989: EyeTrackVR/EyeTrackVR@f595fb5
1 parent 50d03ce commit 7bedaae

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

BabbleApp/babbleapp.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import threading
2424
import asyncio
2525
import logging
26-
from ctypes import c_int
2726
from babble_model_loader import *
2827
from camera_widget import CameraWidget
2928
from config import BabbleConfig
@@ -41,8 +40,7 @@
4140

4241
if os_type == "Windows":
4342
try:
44-
from ctypes import windll
45-
43+
from ctypes import windll, c_int
4644
winmm = windll.winmm
4745
except OSError:
4846
print(

0 commit comments

Comments
 (0)