UI/ErrorLogDialog.py

changeset 1740
6a92ffd41de8
parent 1726
5d3132740ece
child 1745
74c05a1ca2bc
equal deleted inserted replaced
1739:db21de268131 1740:6a92ffd41de8
55 @pyqtSlot() 55 @pyqtSlot()
56 def on_deleteButton_clicked(self): 56 def on_deleteButton_clicked(self):
57 """ 57 """
58 Private slot to delete the log file. 58 Private slot to delete the log file.
59 """ 59 """
60 os.remove(self.__logFile) 60 if os.path.exists(self.__logFile):
61 os.remove(self.__logFile)
61 self.accept() 62 self.accept()
62 63
63 @pyqtSlot() 64 @pyqtSlot()
64 def on_keepButton_clicked(self): 65 def on_keepButton_clicked(self):
65 """ 66 """

eric ide

mercurial