summaryrefslogtreecommitdiff
path: root/lib/elements/element.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2024-07-22 17:39:41 +0200
committerGitHub <noreply@github.com>2024-07-22 17:39:41 +0200
commit1b09fdbddbe4aeea79dcefc93ecd91047696ff06 (patch)
tree0d90fe8e9f729e52c9123077b8701281062ccf58 /lib/elements/element.py
parentfb3568342b9e1d09062ee7a83989a59d5e5d4078 (diff)
multiple int param is expected to return int not str (#3102)
Diffstat (limited to 'lib/elements/element.py')
-rw-r--r--lib/elements/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elements/element.py b/lib/elements/element.py
index 4ce47c79..de1775fe 100644
--- a/lib/elements/element.py
+++ b/lib/elements/element.py
@@ -146,7 +146,7 @@ class EmbroideryElement(object):
# returns an array of multiple space separated int values
@cache
- def get_multiple_int_param(self, param, default="0"):
+ def get_multiple_int_param(self, param, default=0):
params = self.get_param(param, default).split(" ")
try:
params = [int(param) for param in params if param]