From 710fd8dde2e874590e37bd4f0b1adefdea691a40 Mon Sep 17 00:00:00 2001 From: Steffen Schaumburg Date: Wed, 2 Mar 2011 02:55:52 +0100 Subject: [PATCH] a couple of string corrections --- pyfpdb/Configuration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyfpdb/Configuration.py b/pyfpdb/Configuration.py index 365f7c4a..e0e945fb 100644 --- a/pyfpdb/Configuration.py +++ b/pyfpdb/Configuration.py @@ -163,8 +163,8 @@ def get_logger(file_name, config = "config", fallback = False, log_dir=None, log log = logging.basicConfig(filename=file, level=logging.INFO) log = logging.getLogger() # but it looks like default is no output :-( maybe because all the calls name a module? - log.debug(_("Default logger initialised for ")+file) - print _("Default logger intialised for ")+file + log.debug(_("Default logger initialised for %s") % file) + print(_("Default logger initialised for %s") % file) return log def check_dir(path, create = True):