[chronojump] Debugging chronopic-firmwarecord
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Debugging chronopic-firmwarecord
- Date: Wed, 30 Jul 2014 09:55:43 +0000 (UTC)
commit 2c98e56ab25335068fa74a66d4e3a8b9987a933b
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Jul 30 11:55:24 2014 +0200
Debugging chronopic-firmwarecord
.../chronopic-firmwarecord.in | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/chronopic-firmware/chronopic-firmwarecord/chronopic-firmwarecord.in
b/chronopic-firmware/chronopic-firmwarecord/chronopic-firmwarecord.in
index 20f0d07..ae1c186 100644
--- a/chronopic-firmware/chronopic-firmwarecord/chronopic-firmwarecord.in
+++ b/chronopic-firmware/chronopic-firmwarecord/chronopic-firmwarecord.in
@@ -191,14 +191,16 @@ class MyFrame(wx.Frame):
#-- Funcion de retrollamada del boton de exploracion de ficheros
#------------------------------------------------------------------
def boton_abrir(self, event): # wxGlade: MyFrame.<event_handler>
-
+ print DATADIR
#-- Abrir un dialogo de busqueda de ficheros
filechooser = wx.FileDialog(self, "Load Firmware Hex",
os.path.join(DATADIR, 'chronojump', 'firmware'), wildcard =
"*.hex;*.HEX")
+ print "A"
#-- Esperar a que el usuario seleccione el fichero
opcion = filechooser.ShowModal()
+ print "B"
#-- Segun la opcion...
if opcion == wx.ID_OK:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]