python: default to 60s timeout for recover() (#1394)

This commit is contained in:
Adeeb Shihadeh 2023-05-03 14:15:34 -07:00 committed by GitHub
parent 810df6b5c1
commit ba5c2948e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -498,7 +498,7 @@ class Panda:
if reconnect: if reconnect:
self.reconnect() self.reconnect()
def recover(self, timeout: Optional[int] = None, reset: bool = True) -> bool: def recover(self, timeout: Optional[int] = 60, reset: bool = True) -> bool:
dfu_serial = self.get_dfu_serial() dfu_serial = self.get_dfu_serial()
if reset: if reset: