From: pin Date: Mon, 19 Apr 2010 15:56:25 +0000 (+0000) Subject: bugfix sous windows. X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/commitdiff_plain/972649bb3a4feb51c6073c99ad10a82d50786717?ds=inline bugfix sous windows. git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@155 fe552daf-6dbe-4428-90eb-1537e0879342 --- diff --git a/src/app/log.py b/src/app/log.py index 74500ec..00c371b 100755 --- a/src/app/log.py +++ b/src/app/log.py @@ -42,7 +42,7 @@ class EventFilter : def filter(self, record) : return not hiddenEvents.has_key(record.eventType) -logsdir = os.path.join(os.path.expandvars('$HOME'), 'minwii_logs') +logsdir = os.path.join(os.path.expanduser('~'), 'minwii_logs') if not os.path.exists(logsdir) : os.mkdir(logsdir)