fix bug in prepare_network.py

This commit is contained in:
virio-andreyana 2023-04-26 04:28:36 +02:00 committed by GitHub
parent 74e9d56adb
commit df38edab0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -298,6 +298,8 @@ if __name__ == "__main__":
break
for o in opts:
if "+" not in o:
continue
oo = o.split("+")
suptechs = map(lambda c: c.split("-", 2)[0], n.carriers.index)
if oo[0].startswith(tuple(suptechs)):