mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-18 12:53:53 +08:00
Update registration.py
disable registration for Mr One device for now.
This commit is contained in:
@@ -31,7 +31,8 @@ def register(show_spinner=False) -> Optional[str]:
|
||||
HardwareSerial = params.get("HardwareSerial", encoding='utf8')
|
||||
dongle_id: Optional[str] = params.get("DongleId", encoding='utf8')
|
||||
needs_registration = None in (IMEI, HardwareSerial, dongle_id)
|
||||
|
||||
return UNREGISTERED_DONGLE_ID
|
||||
|
||||
pubkey = Path(PERSIST+"/comma/id_rsa.pub")
|
||||
if not pubkey.is_file():
|
||||
dongle_id = UNREGISTERED_DONGLE_ID
|
||||
|
||||
Reference in New Issue
Block a user