Unverified Commit 632fde40 authored by Marco Marinello's avatar Marco Marinello
Browse files

Fix extra 's'

parent e24132b3
......@@ -148,10 +148,10 @@ def parse_wan_mac(components):
def parse_etc(components):
q = filter(components, "etc_segments")
if not q:
return None
q = filter(components, "etc_segment")
this = to_dict(q)
if "etc_segments" not in this:
return None
segments = int(this["etc_segments"])
j = ""
for i in range(segments):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment