##// END OF EJS Templates
***
ralonso -
r71:72
parent child
Show More
@@ -207,7 +207,7
207 for k in range(0, len(var_lines2) / 5): No newline at end of file
207 for k in range(0, len(var_lines2) / 5):
208 var_lines=["\n"] No newline at end of file
208 var_lines=["\n"]
209 var_lines.append(" "+self.var_Elabel+" "+i2s(var_n)+"/"+i2s(self.var_Discs)+"\n")
209 var_lines.append(" "+self.var_Elabel+" "+i2s(var_n)+"/"+i2s(self.var_Discs)+"\n")
No newline at end of file
210 var_lines.append("Year Doy Folder"+" "*6+"Set"+" "*9+"Time range\n") No newline at end of file
210 var_lines.append("Year Doy Folder Set Time range\n") No newline at end of file
211 var_lines.extend(var_lines2[(5*k):(5*(k+1))]) No newline at end of file
211 var_lines.extend(var_lines2[(5*k):(5*(k+1))])
212 var_lines.append("\n") No newline at end of file
212 var_lines.append("\n")
213 var_labels.append(var_lines) No newline at end of file
213 var_labels.append(var_lines)
@@ -17,9 +18,9
17 var_cmd="wodim --devices | grep /dev/ | awk '{print $2}' | awk -F= '{print $2}'" No newline at end of file
18
18 var_output = commands.getstatusoutput(var_cmd) No newline at end of file
19 var_output = commands.getstatusoutput(var_cmd)
19 if var_output[0] != 0:
20 if var_output[0] != 0:
No newline at end of file
21 self.txtInfo.append("No recording devices") No newline at end of file
20 self.txtInfo.append("No se pudo encontrar los dispositivos de grabacion, output_error:" + str(var_output)) No newline at end of file
21 else:
22 else:
No newline at end of file
23 # self.txtInfo.append("dispositivos encontrados") No newline at end of file
22 self.txtInfo.append("dispositivos encontrados") No newline at end of file
23 var_devices = var_output[1].split('\n') No newline at end of file
24 var_devices = var_output[1].split('\n')
24 No newline at end of file
25
25 var_tmp=[] No newline at end of file
26 var_tmp=[]
@@ -54,9 +54,10
54 if os.path.isfile("parameters.conf"): No newline at end of file
54 if os.path.isfile("parameters.conf"):
55 self.txtInfo.append("Parameters were loaded from configuration file") No newline at end of file
55 self.txtInfo.append("Parameters were loaded from configuration file")
56 functions2.get_parameters_conf(self)
56 functions2.get_parameters_conf(self)
No newline at end of file
57 self.txtInfo.append("Total number of discs for recording: "+str(self.var_Discs * self.var_Copys))
57 self.txtInfo.append("El proyecto es de "+str(self.var_Discs)+" discos") No newline at end of file
No newline at end of file
58 No newline at end of file
58 else:
59 else:
No newline at end of file
60 # self.txtInfo.append("Elija los parametros de configuracion") No newline at end of file
59 self.txtInfo.append("Elija los parametros de configuracion") No newline at end of file
60 functions2.set_parameters_test(self) #Establece ciertos parametros, para pruebas No newline at end of file
61 functions2.set_parameters_test(self) #Establece ciertos parametros, para pruebas
61 No newline at end of file
62
62 functions2.set_vars(self) #Carga las variables de la clase con los parametros seleccionados No newline at end of file
63 functions2.set_vars(self) #Carga las variables de la clase con los parametros seleccionados
General Comments 0
You need to be logged in to leave comments. Login now