Update file registration.py

This commit is contained in:
2026-01-15 22:31:28 +08:00
parent 3dd4cddecb
commit 3bf616880d

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)