From 9d54560da837e13b9f6fd3705c4db1616ab73d1a Mon Sep 17 00:00:00 2001 From: pin Date: Thu, 29 Jul 2010 12:00:29 +0000 Subject: [PATCH] =?utf8?q?Ouverture=20par=20d=C3=A9faut=20du=20dossier=20c?= =?utf8?q?ourant=20des=20logs,=20s'il=20existe.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@304 fe552daf-6dbe-4428-90eb-1537e0879342 --- src/minwii/logapp.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/minwii/logapp.py b/src/minwii/logapp.py index 950a478..555c9fd 100755 --- a/src/minwii/logapp.py +++ b/src/minwii/logapp.py @@ -15,6 +15,7 @@ from os.path import basename from os.path import getsize import os.path from minwii.loganalyse import LogFileAnalyser +from minwii.config import LOGS_DIR from pprint import pprint class Application(Frame) : @@ -26,8 +27,8 @@ class Application(Frame) : self.logFiles = [] self.resultsFrame = None - # debug - #self.chooseDirDialog(dir='/Users/pinbe/minwii_logs') + if os.path.exists(LOGS_DIR) : + self.chooseDirDialog(dir=LOGS_DIR) def configureStretching(self) : top=self.winfo_toplevel() -- 2.20.1