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