mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
clean
This commit is contained in:
parent
9ef1f1f893
commit
3c451b41a8
@ -81,13 +81,13 @@ class EyeTrackConfig(BaseModel):
|
|||||||
with open(CONFIG_FILE_NAME, "r") as settings_file:
|
with open(CONFIG_FILE_NAME, "r") as settings_file:
|
||||||
return EyeTrackConfig(**json.load(settings_file))
|
return EyeTrackConfig(**json.load(settings_file))
|
||||||
except json.JSONDecodeError:
|
except json.JSONDecodeError:
|
||||||
print("Failed to load settings file.")
|
print("[INFO] Failed to load settings file")
|
||||||
load_config = None
|
load_config = None
|
||||||
if os.path.exists(BACKUP_CONFIG_FILE_NAME):
|
if os.path.exists(BACKUP_CONFIG_FILE_NAME):
|
||||||
try:
|
try:
|
||||||
with open(BACKUP_CONFIG_FILE_NAME, "r") as settings_file:
|
with open(BACKUP_CONFIG_FILE_NAME, "r") as settings_file:
|
||||||
load_config = EyeTrackConfig(**json.load(settings_file))
|
load_config = EyeTrackConfig(**json.load(settings_file))
|
||||||
print("using backup settings")
|
print("[INFO] Using backup settings")
|
||||||
except json.JSONDecodeError:
|
except json.JSONDecodeError:
|
||||||
pass
|
pass
|
||||||
if load_config is None:
|
if load_config is None:
|
||||||
|
|||||||
@ -18,6 +18,7 @@
|
|||||||
@@@ @ @@@@@@@@#
|
@@@ @ @@@@@@@@#
|
||||||
@@@@@@@@@@@@@@@@@
|
@@@@@@@@@@@@@@@@@
|
||||||
@@@@@@@@@@@@@(
|
@@@@@@@@@@@@@(
|
||||||
|
|
||||||
Intensity Based Openess By: Prohurtz, PallasNeko (Optimization)
|
Intensity Based Openess By: Prohurtz, PallasNeko (Optimization)
|
||||||
Algorithm App Implementations By: Prohurtz
|
Algorithm App Implementations By: Prohurtz
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user