From df38edab0a06bf10d949ac14a1183648dfcdfe07 Mon Sep 17 00:00:00 2001 From: virio-andreyana <114650479+virio-andreyana@users.noreply.github.com> Date: Wed, 26 Apr 2023 04:28:36 +0200 Subject: [PATCH] fix bug in prepare_network.py --- scripts/prepare_network.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/prepare_network.py b/scripts/prepare_network.py index 14a003ae..951cc6c9 100755 --- a/scripts/prepare_network.py +++ b/scripts/prepare_network.py @@ -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)):