mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-20 02:53:15 +08:00
[python] ivy_msg_interface: fix for multiple char arrays in msg
This commit is contained in:
@@ -55,7 +55,7 @@ class IvyMessagesInterface(object):
|
||||
return
|
||||
|
||||
# first split on array delimiters
|
||||
l = re.split('([|\"][^|]*[|\"])', larg[0])
|
||||
l = re.split('([|\"][^|\"]*[|\"])', larg[0])
|
||||
# strip spaces and filter out emtpy strings
|
||||
l = [str.strip(s) for s in l if str.strip(s) is not '']
|
||||
data = []
|
||||
|
||||
Reference in New Issue
Block a user