fix bug in prepare_network.py
This commit is contained in:
parent
74e9d56adb
commit
df38edab0a
@ -298,6 +298,8 @@ if __name__ == "__main__":
|
|||||||
break
|
break
|
||||||
|
|
||||||
for o in opts:
|
for o in opts:
|
||||||
|
if "+" not in o:
|
||||||
|
continue
|
||||||
oo = o.split("+")
|
oo = o.split("+")
|
||||||
suptechs = map(lambda c: c.split("-", 2)[0], n.carriers.index)
|
suptechs = map(lambda c: c.split("-", 2)[0], n.carriers.index)
|
||||||
if oo[0].startswith(tuple(suptechs)):
|
if oo[0].startswith(tuple(suptechs)):
|
||||||
|
Loading…
Reference in New Issue
Block a user