Fixed an issue in the error log dialog.

Mon, 26 Mar 2012 19:39:19 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 26 Mar 2012 19:39:19 +0200
changeset 1740
6a92ffd41de8
parent 1739
db21de268131
child 1741
ecde46558a10

Fixed an issue in the error log dialog.

UI/ErrorLogDialog.py file | annotate | diff | comparison | revisions
--- a/UI/ErrorLogDialog.py	Mon Mar 26 19:38:22 2012 +0200
+++ b/UI/ErrorLogDialog.py	Mon Mar 26 19:39:19 2012 +0200
@@ -57,7 +57,8 @@
         """
         Private slot to delete the log file.
         """
-        os.remove(self.__logFile)
+        if os.path.exists(self.__logFile):
+            os.remove(self.__logFile)
         self.accept()
     
     @pyqtSlot()

eric ide

mercurial