编辑registration.py

This commit is contained in:
2025-12-24 21:43:15 +08:00
parent 58b56e1c8a
commit a50f9f8a2c
+1 -1
View File
@@ -20,7 +20,7 @@ def is_registered_device() -> bool:
def register(show_spinner=False) -> str | None:
params = Params()
return UNREGISTERED_DONGLE_ID
#return UNREGISTERED_DONGLE_ID
dongle_id: str | None = params.get("DongleId")
if dongle_id is None and Path(Paths.persist_root()+"/comma/dongle_id").is_file():
# not all devices will have this; added early in comma 3X production (2/28/24)