kopia lustrzana https://github.com/inkstitch/inkstitch
ignore commands with "empty-d-connectors" (#2436)
rodzic
178a8e821e
commit
a26d0560da
|
@ -124,6 +124,8 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
def parse_command(self):
|
def parse_command(self):
|
||||||
path = self.parse_connector_path()
|
path = self.parse_connector_path()
|
||||||
|
if len(path) == 0:
|
||||||
|
raise CommandParseError("connector has no path information")
|
||||||
|
|
||||||
neighbors = [
|
neighbors = [
|
||||||
(self.get_node_by_url(self.connector.get(CONNECTION_START)), path[0][0][1]),
|
(self.get_node_by_url(self.connector.get(CONNECTION_START)), path[0][0][1]),
|
||||||
|
|
Ładowanie…
Reference in New Issue