X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/3a63a57ad7692cd3da1818b6b22002c113dd62f0..9d54560da837e13b9f6fd3705c4db1616ab73d1a:/src/minwii/logapp.py 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()