diff --git a/src/application.py b/src/application.py index 0d9096f8..7aae398c 100644 --- a/src/application.py +++ b/src/application.py @@ -8,7 +8,7 @@ if snapshot == False: update_url = 'https://twblue.es/updates/stable.php' mirror_update_url = 'https://raw.githubusercontent.com/manuelcortez/TWBlue/next-gen/updates/stable.json' else: - version = "13" + version = "14" update_url = 'https://twblue.es/updates/snapshot.php' mirror_update_url = 'https://raw.githubusercontent.com/manuelcortez/TWBlue/next-gen/updates/snapshots.json' authors = [u"Manuel Cortéz", u"José Manuel Delicado"] diff --git a/src/fixes/fix_libloader.py b/src/fixes/fix_libloader.py index 67f312a4..f94978c5 100644 --- a/src/fixes/fix_libloader.py +++ b/src/fixes/fix_libloader.py @@ -1,4 +1,5 @@ # -*- coding: utf-8 -*- +import logging import win32com import paths win32com.__gen_path__=paths.com_path() @@ -9,6 +10,8 @@ from win32com.client import gencache from pywintypes import com_error from libloader import com +log = logging.getLogger("fixes.fix_libloader") + fixed=False def patched_getmodule(modname): @@ -33,4 +36,6 @@ def load_com(*names): return result def fix(): - com.load_com = load_com \ No newline at end of file + log.debug("Applying fix for Libloader...") + com.load_com = load_com + log.debug("Load_com has been mapped correctly.") \ No newline at end of file diff --git a/src/main.py b/src/main.py index 8577548c..85cd97f4 100644 --- a/src/main.py +++ b/src/main.py @@ -68,9 +68,9 @@ def setup(): log.debug("Application path is %s" % (paths.app_path(),)) log.debug("config path is %s" % (paths.config_path(),)) sound.setup() - output.setup() languageHandler.setLanguage(config.app["app-settings"]["language"]) fixes.setup() + output.setup() keys.setup() from controller import mainController from sessionmanager import sessionManager