Browse Source

Fix Inkscape labels not being read from helper.py.

tags/v1.1.1
Andrew Belt 5 years ago
parent
commit
66c8eda424
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      helper.py

+ 1
- 1
helper.py View File

@@ -277,7 +277,7 @@ def panel_to_components(tree):
for el in circles + rects: for el in circles + rects:
c = {} c = {}
# Get name # Get name
name = el.get('inkscape:label')
name = el.get('{http://www.inkscape.org/namespaces/inkscape}label')
if name is None: if name is None:
name = el.get('id') name = el.get('id')
name = slug_to_identifier(name).upper() name = slug_to_identifier(name).upper()


Loading…
Cancel
Save