编辑registration.py

This commit is contained in:
2025-12-08 08:34:59 +08:00
parent 43ed6a0101
commit 8df1557dfe

View File

@@ -20,7 +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)