pull/481/head
Lex Neva 2019-06-22 19:05:57 -04:00
rodzic 2258bf76ca
commit 54179d76bc
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -326,7 +326,8 @@ class SatinColumn(EmbroideryElement):
if not self.rungs: if not self.rungs:
if len(self.rails) < 2: if len(self.rails) < 2:
self.fatal(_("satin column: object %(id)s has too few paths. A satin column should have at least two paths (the rails).") % dict(id=node_id)) self.fatal(_("satin column: object %(id)s has too few paths. A satin column should have at least two paths (the rails).") %
dict(id=node_id))
if len(self.rails[0]) != len(self.rails[1]): if len(self.rails[0]) != len(self.rails[1]):
self.fatal(_("satin column: object %(id)s has two paths with an unequal number of points (%(length1)d and %(length2)d)") % self.fatal(_("satin column: object %(id)s has two paths with an unequal number of points (%(length1)d and %(length2)d)") %