##// END OF EJS Templates
Bug Fixed: Cuando ocurre error por FTP, las imagenes del plot no se guardaban.
Daniel Valdez -
r418:712ab364dc8c
parent child
Show More
@@ -210,6 +210,7 class CrossSpectraPlot(Figure):
210 try:
210 try:
211 self.sendByFTP(ftp_filename, server, folder, username, password)
211 self.sendByFTP(ftp_filename, server, folder, username, password)
212 except:
212 except:
213 self.counter_imagwr = 0
213 raise ValueError, 'Error FTP'
214 raise ValueError, 'Error FTP'
214
215
215 self.counter_imagwr = 0
216 self.counter_imagwr = 0
@@ -401,6 +402,7 class RTIPlot(Figure):
401 try:
402 try:
402 self.sendByFTP(ftp_filename, server, folder, username, password)
403 self.sendByFTP(ftp_filename, server, folder, username, password)
403 except:
404 except:
405 self.counter_imagwr = 0
404 raise ValueError, 'Error FTP'
406 raise ValueError, 'Error FTP'
405
407
406 self.counter_imagwr = 0
408 self.counter_imagwr = 0
@@ -597,6 +599,7 class SpectraPlot(Figure):
597 try:
599 try:
598 self.sendByFTP(ftp_filename, server, folder, username, password)
600 self.sendByFTP(ftp_filename, server, folder, username, password)
599 except:
601 except:
602 self.counter_imagwr = 0
600 raise ValueError, 'Error FTP'
603 raise ValueError, 'Error FTP'
601
604
602 self.counter_imagwr = 0
605 self.counter_imagwr = 0
@@ -1004,6 +1007,7 class CoherenceMap(Figure):
1004 try:
1007 try:
1005 self.sendByFTP(ftp_filename, server, folder, username, password)
1008 self.sendByFTP(ftp_filename, server, folder, username, password)
1006 except:
1009 except:
1010 self.counter_imagwr = 0
1007 raise ValueError, 'Error FTP'
1011 raise ValueError, 'Error FTP'
1008
1012
1009 self.counter_imagwr = 0
1013 self.counter_imagwr = 0
@@ -1176,6 +1180,7 class Noise(Figure):
1176 try:
1180 try:
1177 self.sendByFTP(ftp_filename, server, folder, username, password)
1181 self.sendByFTP(ftp_filename, server, folder, username, password)
1178 except:
1182 except:
1183 self.counter_imagwr = 0
1179 raise ValueError, 'Error FTP'
1184 raise ValueError, 'Error FTP'
1180
1185
1181 self.counter_imagwr = 0
1186 self.counter_imagwr = 0
General Comments 0
You need to be logged in to leave comments. Login now