@@ -119,7 +119,7 | |||||
119 | def make_dir(var_dir, self): No newline at end of file |
|
119 | def make_dir(var_dir, self): | |
120 | var_output = commands.getstatusoutput('mkdir '+var_dir) No newline at end of file |
|
120 | var_output = commands.getstatusoutput('mkdir '+var_dir) | |
121 | if var_output[0] != 0: |
|
121 | if var_output[0] != 0: | |
No newline at end of file |
|
122 | self.txtInfo.append("Error making directory: "+var_dir+", output_error:" + str(var_output[0])) No newline at end of file | ||
122 | self.txtInfo.append("Error deleting directory: "+var_dir+", output_error:" + str(var_output[0])) No newline at end of file |
|
|||
123 | return False No newline at end of file |
|
123 | return False | |
124 | return True No newline at end of file |
|
124 | return True | |
125 | No newline at end of file |
|
125 |
@@ -83,7 +83,7 | |||||
83 | #----------------------------------- devuelve una lista con las carpetas en las cuales estan montados los dispositivos -------------------------------------------- No newline at end of file |
|
83 | #----------------------------------- devuelve una lista con las carpetas en las cuales estan montados los dispositivos -------------------------------------------- | |
84 | def mounted_devices(): No newline at end of file |
|
84 | def mounted_devices(): | |
85 |
|
85 | |||
No newline at end of file |
|
86 | var_type = "iso9660" No newline at end of file | ||
86 | var_type = "tmpfs" No newline at end of file |
|
|||
87 | var_output=commands.getstatusoutput('df -hT | grep '+ var_type) No newline at end of file |
|
87 | var_output=commands.getstatusoutput('df -hT | grep '+ var_type) | |
88 | No newline at end of file |
|
88 | ||
89 | if var_output[0] != 0: No newline at end of file |
|
89 | if var_output[0] != 0: |
@@ -53,7 +53,7 | |||||
53 | self.var_real_burn = False No newline at end of file |
|
53 | self.var_real_burn = False | |
54 | self.var_real_check = False No newline at end of file |
|
54 | self.var_real_check = False | |
55 | self.var_real_eject = False |
|
55 | self.var_real_eject = False | |
No newline at end of file |
|
56 | self.var_real_manual_check = True No newline at end of file | ||
56 | self.var_real_manual_check = False No newline at end of file |
|
|||
57 | self.var_real_show_cmd = True No newline at end of file |
|
57 | self.var_real_show_cmd = True | |
58 | No newline at end of file |
|
58 | ||
59 | if self.var_real_detect_devices == True: No newline at end of file |
|
59 | if self.var_real_detect_devices == True: |
General Comments 0
You need to be logged in to leave comments.
Login now