Skip to content

Commit 60013e5

Browse files
authored
Merge pull request #107 from SnuffSocket/fix-import
Fix: "Import statement position to prevent errors on non windows machines"
2 parents 31a1630 + 7bedaae commit 60013e5

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)