From 0273fd508f0202f3d25275905990bc35a5530786 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Tue, 13 Oct 2009 20:24:27 +0100 Subject: [PATCH] Fix Logging exception in check_version --- openlp.pyw | 2 +- openlp/core/utils/__init__.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/openlp.pyw b/openlp.pyw index 203137e1f..6741cd1f6 100755 --- a/openlp.pyw +++ b/openlp.pyw @@ -35,7 +35,7 @@ from openlp.core.resources import qInitResources from openlp.core.ui import MainWindow, SplashScreen from openlp.core.utils import ConfigHelper -log = logging.getLogger() +log = logging.getLogger(__name__) class OpenLP(QtGui.QApplication): """ diff --git a/openlp/core/utils/__init__.py b/openlp/core/utils/__init__.py index d262305a5..bdc00c606 100644 --- a/openlp/core/utils/__init__.py +++ b/openlp/core/utils/__init__.py @@ -28,6 +28,8 @@ from datetime import datetime from registry import Registry from confighelper import ConfigHelper +log = logging.getLogger() + __all__ = ['Registry', 'ConfigHelper'] def check_latest_version(config, current_version):