From 848610ae4ed5559f18f737f03f8d8f922c2b9eac Mon Sep 17 00:00:00 2001 From: Bill Mitchell Date: Fri, 6 Apr 2018 04:26:21 -0500 Subject: [PATCH] Fixed syntax error in remove_WIDEn_N utility --- aprslib/util/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aprslib/util/__init__.py b/aprslib/util/__init__.py index 16507b2..811a320 100644 --- a/aprslib/util/__init__.py +++ b/aprslib/util/__init__.py @@ -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)