Fixed syntax error in remove_WIDEn_N utility
This commit is contained in:
parent
2384dbc904
commit
848610ae4e
|
|
@ -41,4 +41,5 @@ def remove_WIDEn_N(path):
|
|||
returns: list of digipeaters that digipeated packet, in order
|
||||
"""
|
||||
path = map(lambda x: re.sub('*$', '', x), path) # Remove asterisks
|
||||
return(path = list(filter(lambda x: not re.match(r'WIDE[0-9\-\*]+$', x), path)))
|
||||
path = list(filter(lambda x: not re.match(r'WIDE[0-9\-\*]+$', x), path))
|
||||
return(path)
|
||||
|
|
|
|||
Loading…
Reference in New Issue