mirror of
https://github.com/Project-Babble/ProjectBabble.git
synced 2026-11-20 00:51:16 -08:00
Fix: "Import statement position to prevent errors on non windows machines"
By RedHawk989: https://github.com/EyeTrackVR/EyeTrackVR/commit/f595fb53c6e47dae1e1af21ec41852548ea83bce
This commit is contained in:
1 parent
50d03cec35
commit
7bedaaec0d
1 file changed
+1
-3
@@ -23,7 +23,6 @@ import requests
|
||||
import threading
|
||||
import asyncio
|
||||
import logging
|
||||
from ctypes import c_int
|
||||
from babble_model_loader import *
|
||||
from camera_widget import CameraWidget
|
||||
from config import BabbleConfig
|
||||
@@ -41,8 +40,7 @@ winmm = None
|
||||
|
||||
if os_type == "Windows":
|
||||
try:
|
||||
from ctypes import windll
|
||||
|
||||
from ctypes import windll, c_int
|
||||
winmm = windll.winmm
|
||||
except OSError:
|
||||
print(
|
||||
|
||||
Reference in new issue
Block a user