]> CRI, Mines Paris - PSL - minwii.git/blobdiff - src/minwii/logapp.py
Affichage du mode de jeu dans les résultats.
[minwii.git] / src / minwii / logapp.py
index 16be558f9b58ca368b706cb3ce51d7603ae15d3e..edc86e6cf55803ab0a0a95a3d49f403d30302d69 100755 (executable)
@@ -9,6 +9,7 @@ $URL$
 from Tkinter import *
 import tkFileDialog
 from glob import glob
 from Tkinter import *
 import tkFileDialog
 from glob import glob
+import os
 from os.path import join as pjoin
 from os.path import basename
 from os.path import getsize
 from os.path import join as pjoin
 from os.path import basename
 from os.path import getsize
@@ -77,6 +78,7 @@ class Application(Frame) :
         while self.logFiles :
             f = self.logFiles.pop()
             if not getsize(f) :
         while self.logFiles :
             f = self.logFiles.pop()
             if not getsize(f) :
+                os.remove(f)
                 continue
             # TODO : vérifier qu'il existe des événements
             else :
                 continue
             # TODO : vérifier qu'il existe des événements
             else :