From a26d0560da8a6f6d2e66388a65d952dc83f3e3bc Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Tue, 8 Aug 2023 18:57:23 +0200 Subject: [PATCH] ignore commands with "empty-d-connectors" (#2436) --- lib/commands.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/commands.py b/lib/commands.py index d93954ecf..8c43aed33 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -124,6 +124,8 @@ class Command(BaseCommand): def parse_command(self): path = self.parse_connector_path() + if len(path) == 0: + raise CommandParseError("connector has no path information") neighbors = [ (self.get_node_by_url(self.connector.get(CONNECTION_START)), path[0][0][1]),