fixed 2 bugs in python samples (crash in camshift and running samples from within the demo)

This commit is contained in:
Vadim Pisarevsky
2011-08-22 10:10:17 +00:00
parent fd69c8b34a
commit 8dacbeb157
2 changed files with 2 additions and 2 deletions

View File

@@ -141,7 +141,7 @@ class App:
def on_run(self, *args):
cmd = self.cmd_entry.get()
print 'running:', cmd
Popen(cmd, shell=True)
Popen("python " + cmd, shell=True)
def run(self):
tk.mainloop()