From 60c9d2fbf81163f1c86633094048b3bb79cc22dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Sun, 9 Mar 2008 22:41:52 +0100 Subject: Small changes --- portato/session.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'portato/session.py') diff --git a/portato/session.py b/portato/session.py index be622cf..636e00a 100644 --- a/portato/session.py +++ b/portato/session.py @@ -16,7 +16,7 @@ import os, os.path from .config_parser import ConfigParser from .constants import SESSION_DIR -from .helper import debug +from .helper import _,debug, info class Session (object): """ @@ -44,6 +44,7 @@ class Session (object): if not (os.path.exists(SESSION_DIR) and os.path.isdir(SESSION_DIR)): os.mkdir(SESSION_DIR) self._cfg = ConfigParser(os.path.join(SESSION_DIR, file)) + info(_("Loading session from '%s'.") % self._cfg.file) try: self._cfg.parse() except IOError, e: -- cgit v1.2.3