From 972649bb3a4feb51c6073c99ad10a82d50786717 Mon Sep 17 00:00:00 2001 From: pin Date: Mon, 19 Apr 2010 15:56:25 +0000 Subject: [PATCH] bugfix sous windows. git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@155 fe552daf-6dbe-4428-90eb-1537e0879342 --- src/app/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.20.1