编辑registration.py

This commit is contained in:
2025-12-09 10:24:59 +08:00
parent 94a56ee381
commit 854f7aff0d

View File

@@ -20,6 +20,7 @@ def is_registered_device() -> bool:
def register(show_spinner=False) -> str | None:
params = Params()
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)