except Exception
parent
37ce507ae9
commit
512ab3f2f0
|
@ -44,6 +44,6 @@ if __name__ == "__main__":
|
|||
if claim:
|
||||
panda.serial_write(port_number, ln)
|
||||
time.sleep(0.01)
|
||||
except:
|
||||
except Exception:
|
||||
print("panda disconnected!")
|
||||
time.sleep(0.5);
|
||||
|
|
Loading…
Reference in New Issue