summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/elements/clone.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elements/clone.py b/lib/elements/clone.py
index 73f3c6c0..82688071 100644
--- a/lib/elements/clone.py
+++ b/lib/elements/clone.py
@@ -229,7 +229,7 @@ class Clone(EmbroideryElement):
def is_clone(node):
- if node.tag == SVG_USE_TAG and node.get(XLINK_HREF) and not is_command_symbol(node):
+ if node.tag == SVG_USE_TAG and node.href is not None and not is_command_symbol(node):
return True
return False