|
@@ -440,7 +440,8 @@ class GMFrame(wx.Frame):
|
|
|
"""!Run script"""
|
|
|
# open dialog and choose script file
|
|
|
dlg = wx.FileDialog(parent = self, message = _("Choose script file"),
|
|
|
- defaultDir = os.getcwd(), wildcard = _("Bash script (*.sh)|*.sh|Python script (*.py)|*.py"))
|
|
|
+ defaultDir = os.getcwd(),
|
|
|
+ wildcard = _("Python script (*.py)|*.py|Bash script (*.sh)|*.sh"))
|
|
|
|
|
|
filename = None
|
|
|
if dlg.ShowModal() == wx.ID_OK:
|