"m.s.d.", lst)
if (dlg.ShowModal() == wx.ID_OK):
- print "Selection:", dlg.GetValue(), " -> ", dlg.GetValueString()
+ log.write("Selection: %s -> %s\n" % (dlg.GetValue(), dlg.GetValueString()))
+
+ dlg.Destroy()
#---------------------------------------------------------------------------
if __name__ == '__main__':
import sys,os
import run
- run.main(['', os.path.basename(sys.argv[0])])
+ run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])