Fix Logging exception in check_version

This commit is contained in:
Tim Bentley 2009-10-13 20:24:27 +01:00
parent cc71923682
commit 0273fd508f
2 changed files with 3 additions and 1 deletions

View File

@ -35,7 +35,7 @@ from openlp.core.resources import qInitResources
from openlp.core.ui import MainWindow, SplashScreen from openlp.core.ui import MainWindow, SplashScreen
from openlp.core.utils import ConfigHelper from openlp.core.utils import ConfigHelper
log = logging.getLogger() log = logging.getLogger(__name__)
class OpenLP(QtGui.QApplication): class OpenLP(QtGui.QApplication):
""" """

View File

@ -28,6 +28,8 @@ from datetime import datetime
from registry import Registry from registry import Registry
from confighelper import ConfigHelper from confighelper import ConfigHelper
log = logging.getLogger()
__all__ = ['Registry', 'ConfigHelper'] __all__ = ['Registry', 'ConfigHelper']
def check_latest_version(config, current_version): def check_latest_version(config, current_version):