summaryrefslogtreecommitdiff
path: root/lib/stitches/auto_fill.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stitches/auto_fill.py')
-rw-r--r--lib/stitches/auto_fill.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stitches/auto_fill.py b/lib/stitches/auto_fill.py
index 067b0bcf..d5dd1d7d 100644
--- a/lib/stitches/auto_fill.py
+++ b/lib/stitches/auto_fill.py
@@ -706,7 +706,7 @@ def pick_edge(edges):
# Prefer a segment if one is available. This has the effect of
# creating long sections of back-and-forth row traversal.
for source, node, key in edges:
- if key == 'segment':
+ if key.startswith('segment'):
return source, node, key
return list(edges)[0]