@@ -24,6 +24,8 | |||||
24 |
|
24 | |||
25 | def setupUi2(self): |
|
25 | def setupUi2(self): | |
26 | print 'hi' |
|
26 | print 'hi' | |
|
27 | self.txtDpath.setText('/home/ricardoar/') | |||
|
28 | self.txtRpath.setText('/home/ricardoar/optional/STORAGE/prueba1_jro_backup_manager/') | |||
27 |
|
29 | |||
28 | @pyqtSignature("") |
|
30 | @pyqtSignature("") | |
29 | def on_btnDpath_clicked(self): |
|
31 | def on_btnDpath_clicked(self): | |
@@ -195,3 +197,19 | |||||
195 | """ |
|
197 | """ | |
196 | Slot documentation goes here. |
|
198 | Slot documentation goes here. | |
197 | """ |
|
199 | """ | |
|
200 | var_dirs='/{gpath,iso,ppath}' | |||
|
201 | var_Rpath=self.txtRpath.text() | |||
|
202 | var_cmd="mkdir "+str(var_Rpath)+str(var_dirs) | |||
|
203 | self.txtInfo.append(var_cmd) | |||
|
204 | ||||
|
205 | #CREA LAS CARPETAS "COMENTADO TEMPORALMENTE" | |||
|
206 | #var_output=commands.getstatusoutput(var_cmd)[0] | |||
|
207 | #if var_output != 0: | |||
|
208 | # self.txtInfo.setText("No se pudieron crear los directorios, output_error:" + str(var_output)) | |||
|
209 | # return | |||
|
210 | #else: | |||
|
211 | # self.txtInfo.append('Carpetas creadas correctamente') | |||
|
212 | ||||
|
213 | for i in self.var_list[self.lstStartDay.currentIndex():self.lstStartDay.currentIndex() + self.lstStopDay.currentIndex()+1]: | |||
|
214 | self.txtInfo.append(i) | |||
|
215 |
General Comments 0
You need to be logged in to leave comments.
Login now