From 712ab364dc8c6a50d74f84f261a682022cbd4a96 2013-09-04 16:13:00 From: Daniel Valdez Date: 2013-09-04 16:13:00 Subject: [PATCH] Bug Fixed: Cuando ocurre error por FTP, las imagenes del plot no se guardaban. --- diff --git a/schainpy/model/jroplot.py b/schainpy/model/jroplot.py index c9bbe41..d655c7c 100644 --- a/schainpy/model/jroplot.py +++ b/schainpy/model/jroplot.py @@ -210,6 +210,7 @@ class CrossSpectraPlot(Figure): try: self.sendByFTP(ftp_filename, server, folder, username, password) except: + self.counter_imagwr = 0 raise ValueError, 'Error FTP' self.counter_imagwr = 0 @@ -401,6 +402,7 @@ class RTIPlot(Figure): try: self.sendByFTP(ftp_filename, server, folder, username, password) except: + self.counter_imagwr = 0 raise ValueError, 'Error FTP' self.counter_imagwr = 0 @@ -597,6 +599,7 @@ class SpectraPlot(Figure): try: self.sendByFTP(ftp_filename, server, folder, username, password) except: + self.counter_imagwr = 0 raise ValueError, 'Error FTP' self.counter_imagwr = 0 @@ -1004,6 +1007,7 @@ class CoherenceMap(Figure): try: self.sendByFTP(ftp_filename, server, folder, username, password) except: + self.counter_imagwr = 0 raise ValueError, 'Error FTP' self.counter_imagwr = 0 @@ -1176,6 +1180,7 @@ class Noise(Figure): try: self.sendByFTP(ftp_filename, server, folder, username, password) except: + self.counter_imagwr = 0 raise ValueError, 'Error FTP' self.counter_imagwr = 0