Skip to content

Commit

Permalink
FIx error on prepare document
Browse files Browse the repository at this point in the history
  • Loading branch information
Budi Prakosa committed Aug 20, 2020
1 parent 095d591 commit 0dc743c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion inkscape/svg2shenzhen/prepare.py
Expand Up @@ -169,7 +169,9 @@ def prepareDocument(self, options):
white_layer.append(rect)

# Create the Selected Layers
for key, value in reversed(kicadLayers.items()):
kicadLayersArray = list(kicadLayers.items());

for key, value in reversed(kicadLayersArray):
disabledValue = '%s-disabled' % (value)
selectedValue = getattr(options, key)
if selectedValue == "true" and value not in layers and disabledValue not in layers:
Expand Down

0 comments on commit 0dc743c

Please sign in to comment.