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

View File

@@ -498,7 +498,7 @@ class Panda:
if 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()
if reset: