From b3892de8fc3a82bf3fd5fbac1d36de39e3a542f1 2014-01-08 15:36:02 From: Daniel Valdez Date: 2014-01-08 15:36:02 Subject: [PATCH] El programa se terminaba cuando se produce un error de conexion al servidor de graficos en la web, ahora el progrma imprime el error de conexion pero continua en ejecucion. --- diff --git a/schainpy/model/jroplot.py b/schainpy/model/jroplot.py index f9a4246..ed3e604 100644 --- a/schainpy/model/jroplot.py +++ b/schainpy/model/jroplot.py @@ -211,7 +211,7 @@ class CrossSpectraPlot(Figure): self.sendByFTP(ftp_filename, server, folder, username, password) except: self.counter_imagwr = 0 - raise ValueError, 'Error FTP' + print ValueError, 'Error FTP' self.counter_imagwr = 0 @@ -403,7 +403,7 @@ class RTIPlot(Figure): self.sendByFTP(ftp_filename, server, folder, username, password) except: self.counter_imagwr = 0 - raise ValueError, 'Error FTP' + print ValueError, 'Error FTP' self.counter_imagwr = 0 @@ -600,7 +600,7 @@ class SpectraPlot(Figure): self.sendByFTP(ftp_filename, server, folder, username, password) except: self.counter_imagwr = 0 - raise ValueError, 'Error FTP' + print ValueError, 'Error FTP' self.counter_imagwr = 0 @@ -1017,7 +1017,7 @@ class CoherenceMap(Figure): self.sendByFTP(ftp_filename, server, folder, username, password) except: self.counter_imagwr = 0 - raise ValueError, 'Error FTP' + print ValueError, 'Error FTP' self.counter_imagwr = 0 @@ -1190,7 +1190,7 @@ class Noise(Figure): self.sendByFTP(ftp_filename, server, folder, username, password) except: self.counter_imagwr = 0 - raise ValueError, 'Error FTP' + print ValueError, 'Error FTP' self.counter_imagwr = 0