summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embroider_simulate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/embroider_simulate.py b/embroider_simulate.py
index f3f9e5e2..b7f4e560 100644
--- a/embroider_simulate.py
+++ b/embroider_simulate.py
@@ -151,7 +151,7 @@ class EmbroiderySimulator(wx.Frame):
segments = []
pos = (0, 0)
- pen = wx.Brush('black')
+ pen = wx.Pen('black')
cut = True
with open(stitch_file_path) as stitch_file:
@@ -163,7 +163,7 @@ class EmbroiderySimulator(wx.Frame):
if symbol == "$":
red, green, blue = fields[2:5]
- color = color_to_pen((int(red), int(green), int(blue)))
+ color = self.color_to_pen((int(red), int(green), int(blue)))
elif symbol == "*":
if command == "COLOR":
# change color