##// END OF EJS Templates
redefiniendo parte grabacion
ralonso -
r56:57
parent child
Show More
@@ -130,12 +130,8
130 130 var_file = open(var_Rpath_ppath+"/"+self.var_Elabel+"_"+i2s(var_n)+".dat","w") No newline at end of file
131 131 #Se añade la lista de archivos a grabar en el DVD al archivo .dat No newline at end of file
132 132 for line in var_files_list_2:
133 No newline at end of file
133 var_tmp_path=(line.split(self.var_Dpath)[1]).split('/')
No newline at end of file
134 No newline at end of file
134 var_tmp_path2="/"
No newline at end of file
135 for l in range(0, len(var_tmp_path)-1):
No newline at end of file
136 var_tmp_path2=var_tmp_path2+str(var_tmp_path[l])+"/"
No newline at end of file
137 var_file.write(var_tmp_path2+'=')
No newline at end of file
138 var_file.write(line+'\n') No newline at end of file
139 135 var_file.close() No newline at end of file
140 136 No newline at end of file
141 137 var_tmp = var_size_i #Se asigna a la variable el tamaño del archivo actual No newline at end of file
@@ -6,18 +6,6
6 6 import os No newline at end of file
7 7 import subprocess No newline at end of file
8 8 import commands
No newline at end of file
9
No newline at end of file
10
No newline at end of file
11 def set_parameters(self):
No newline at end of file
12 """
No newline at end of file
13 Se usa para inicializar ciertos parametros para pruebas
No newline at end of file
14 """
No newline at end of file
15 self.txtDpath.setText('/home/ricardoar/optional/STORAGE/EW_DRIFTS')
No newline at end of file
16 self.txtRpath.setText('/home/ricardoar/optional/prueba1_jro_backup_manager')
No newline at end of file
17 self.txtElabel.setText('EW_DRIFTS_pruebas')
No newline at end of file
18 self.lstDcapacity.setCurrentIndex(4)
No newline at end of file
19 self.txtDcapacity.setValue(250.0)
No newline at end of file
20 self.txtDcapacity.setReadOnly(False) No newline at end of file
21 9 No newline at end of file
22 10 No newline at end of file
23 11 def detect_devices(self): No newline at end of file
@@ -12,7 +12,7
12 12 from subprocess import * No newline at end of file
13 13 import sys No newline at end of file
14 14 import os
15 No newline at end of file
15 import subprocess No newline at end of file
16 16 import commands No newline at end of file
17 17 from functions import functions No newline at end of file
18 18 from functions import functions2 No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now