diff options
| author | Lex Neva <lexelby@users.noreply.github.com> | 2018-02-19 21:43:39 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-19 21:43:39 -0500 |
| commit | 633ec88186106b9a9604f418b5f527d6d8ff888d (patch) | |
| tree | 186ccabb6f305106974749620ccdd112dba3f964 /embroider_params.py | |
| parent | 4c5e57893992e64ac3509dd05a6a3fd57238cb30 (diff) | |
windows build (#79)
Ink/stitch now supports windows!
Diffstat (limited to 'embroider_params.py')
| -rw-r--r-- | embroider_params.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embroider_params.py b/embroider_params.py index 1bb6620e..f41a667e 100644 --- a/embroider_params.py +++ b/embroider_params.py @@ -287,7 +287,7 @@ class ParamsTab(ScrolledPanel): summary_box = wx.StaticBox(self, wx.ID_ANY, label=_("Inkscape objects")) sizer = wx.StaticBoxSizer(summary_box, wx.HORIZONTAL) # sizer = wx.BoxSizer(wx.HORIZONTAL) - self.description = wx.StaticText(self, style=wx.TE_WORDWRAP) + self.description = wx.StaticText(self) self.update_description() self.description.SetLabel(self.description_text) self.description_container = box @@ -757,7 +757,7 @@ class EmbroiderParams(inkex.Effect): def save_stderr(): # GTK likes to spam stderr, which inkscape will show in a dialog. - null = open('/dev/null', 'w') + null = open(os.devnull, 'w') sys.stderr_dup = os.dup(sys.stderr.fileno()) os.dup2(null.fileno(), 2) sys.stderr_backup = sys.stderr |
