mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-21 03:43:26 +08:00
[python] add pprz_env with usable default IVY_BUS
- pprz_env.IVY_BUS is either the env variable IVY_BUS or appropriate default (checks for OSX) - some fixes for udp_link should fix #1495 and the python part of #204
This commit is contained in:
@@ -39,7 +39,7 @@ class SerialMessagesInterface(threading.Thread):
|
||||
def shutdown(self):
|
||||
self.stop()
|
||||
|
||||
def __init__del__(self):
|
||||
def __del__(self):
|
||||
try:
|
||||
self.ser.close()
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user