mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
fix: fix slash
This commit is contained in:
parent
f6345e0a47
commit
a38f61977f
@ -8,6 +8,7 @@ import struct
|
|||||||
import threading
|
import threading
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|
||||||
class TimeoutError(RuntimeError):
|
class TimeoutError(RuntimeError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@ -84,7 +85,7 @@ def center_overlay_calibrate(self):
|
|||||||
print(os.getcwd())
|
print(os.getcwd())
|
||||||
|
|
||||||
dirname = os.path.dirname(__file__)
|
dirname = os.path.dirname(__file__)
|
||||||
overlay_path = os.path.join(dirname, "Tools/ETVR_SteamVR_Calibration_Overlay.exe")
|
overlay_path = os.path.join(dirname, "Tools\\ETVR_SteamVR_Calibration_Overlay.exe")
|
||||||
os.startfile(overlay_path + " center") # check the file path.
|
os.startfile(overlay_path + " center") # check the file path.
|
||||||
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
|
||||||
server_address = ("localhost", 1234)
|
server_address = ("localhost", 1234)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user