summaryrefslogtreecommitdiff
path: root/lib/gui
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2021-03-11 20:34:20 -0500
committerLex Neva <github.com@lexneva.name>2021-03-11 20:34:20 -0500
commit5edae9fe75ce577e11bd172b5ecc9b8689b0a311 (patch)
tree4ad01370b1d89fceb6dcbe609bd3eed9f14df220 /lib/gui
parent3dd767917d8e604bf4a1f3b41c5c4fc506fa2b96 (diff)
remove unused local variable
Diffstat (limited to 'lib/gui')
-rw-r--r--lib/gui/simulator.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gui/simulator.py b/lib/gui/simulator.py
index 996bc8f9..5bc434bc 100644
--- a/lib/gui/simulator.py
+++ b/lib/gui/simulator.py
@@ -6,10 +6,10 @@ from threading import Event, Thread
import wx
from wx.lib.intctrl import IntCtrl
+from .dialogs import info_dialog
from ..i18n import _
from ..stitch_plan import patches_to_stitch_plan, stitch_plan_from_file
from ..svg import PIXELS_PER_MM
-from .dialogs import info_dialog
# L10N command label at bottom of simulator window
COMMAND_NAMES = [_("STITCH"), _("JUMP"), _("TRIM"), _("STOP"), _("COLOR CHANGE")]
@@ -681,7 +681,6 @@ class EmbroiderySimulator(wx.Frame):
stitch_plan = kwargs.pop('stitch_plan', None)
stitches_per_second = kwargs.pop('stitches_per_second', 16)
target_duration = kwargs.pop('target_duration', None)
- size = kwargs.get('size', (0, 0))
wx.Frame.__init__(self, *args, **kwargs)
self.statusbar = self.CreateStatusBar(2)
self.statusbar.SetStatusWidths([250, -1])