@@ -501,7 +501,7 | |||
|
501 | 501 | |
|
502 | 502 | def finished_manual_check(self): |
|
503 | 503 | self.txtProgress.clear() |
|
504 | ||
|
504 | ||
|
505 | 505 | if not(self.bool_state_manual_check): |
|
506 | 506 | return |
|
507 | 507 | |
@@ -520,18 +520,15 | |||
|
520 | 520 | bool_return = functions.remove_dir(var_tmpdata, self) |
|
521 | 521 | if not(bool_return): |
|
522 | 522 | self.txtInfo.append("Error deleting directory: "+var_tmpdata) |
|
523 |
self.bool_state_ |
|
|
524 | return | |
|
525 | ||
|
526 | ||
|
527 | ||
|
523 | self.bool_state_manual_check = False | |
|
524 | return | |
|
525 | ||
|
528 | 526 | self.var_n_check_dirs +=1 |
|
529 | ||
|
527 | ||
|
530 | 528 | if self.var_n_check_dirs >= len(self.list_check_dirs) : |
|
531 | 529 | self.bool_state_manual_check = False |
|
532 | 530 | self.function_manual_check_final() |
|
533 | 531 | return |
|
534 | ||
|
535 | 532 | |
|
536 | 533 | self.function_manual_check() |
|
537 | 534 | |
@@ -662,7 +659,10 | |||
|
662 | 659 | if os.path.isfile("parameters.conf"): |
|
663 | 660 | os.remove("parameters.conf") |
|
664 | 661 | if os.path.isfile("burning.conf"): |
|
665 |
os.remove("burning.conf") |
|
|
662 | os.remove("burning.conf") | |
|
663 | ||
|
664 | functions2.eject_devices(self) # Expulsa las bandejas de los dispostivos de grabacion | |
|
665 | ||
|
666 | 666 | |
|
667 | 667 | |
|
668 | 668 | |
@@ -714,6 +714,21 | |||
|
714 | 714 | """ |
|
715 | 715 | Slot documentation goes here. |
|
716 | 716 | """ |
|
717 | ||
|
718 | if self.btnCHstart.text() == "STOP": | |
|
719 | self.btnCHstart.setText("START") #Cambio el texto del boton | |
|
720 | self.bool_state_manual_check = False | |
|
721 | self.process_manual_check.terminate() | |
|
722 | ||
|
723 | #borrar el contenido de tmpdata | |
|
724 | var_tmpdata=self.var_TDpath+"/tmpdata" | |
|
725 | bool_return = functions.remove_dir(var_tmpdata, self) | |
|
726 | if not(bool_return): | |
|
727 | self.txtInfo.append("Error deleting directory: "+var_tmpdata) | |
|
728 | ||
|
729 | return | |
|
730 | ||
|
731 | ||
|
717 | 732 | list_dirs = functions2.mounted_devices() |
|
718 | 733 | if list_dirs == "FATAL ERROR": |
|
719 | 734 | self.txtInfo.append("ERROR") |
@@ -728,7 +743,6 | |||
|
728 | 743 | |
|
729 | 744 | self.btnTDpath.setEnabled(False) #Deshabilito el boton que permite cambiar la ruta de verificacion |
|
730 | 745 | self.btnCHstart.setText("STOP") #Cambio el texto del boton |
|
731 | self.txtInfo.append(self.btnCHstart.text()) | |
|
732 | 746 | |
|
733 | 747 | self.function_manual_check() |
|
734 | 748 | |
@@ -768,5 +782,5 | |||
|
768 | 782 | def function_manual_check_final(self): |
|
769 | 783 | self.txtInfo.append("Manual check process is complete") |
|
770 | 784 | self.btnCHstart.setText("START") #Cambio el texto del boton |
|
771 | ||
|
772 | ||
|
785 | functions2.eject_devices_2(self) # Expulsa las bandejas de los dispostivos de grabacion | |
|
786 |
General Comments 0
You need to be logged in to leave comments.
Login now