[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:
Felix Ruess
2015-12-22 11:47:43 +01:00
parent eaf971bfad
commit 34e076e2f7
7 changed files with 57 additions and 24 deletions
+1 -1
View File
@@ -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: