X-Git-Url: https://svn.cri.ensmp.fr/git/minwii.git/blobdiff_plain/1ba1c6642bcd08f1fde82e6b0d99927346df752b..a07152998dd50dab4e31a809158b3f5b430ac094:/src/minwii/logapp.py?ds=sidebyside diff --git a/src/minwii/logapp.py b/src/minwii/logapp.py index 16be558..176d179 100755 --- a/src/minwii/logapp.py +++ b/src/minwii/logapp.py @@ -9,10 +9,11 @@ $URL$ 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 loganalyse import LogFileAnalyser +from minwii.loganalyse import LogFileAnalyser from pprint import pprint class Application(Frame) : @@ -77,6 +78,7 @@ class Application(Frame) : 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 :