Added logging to fix_libloader.

This commit is contained in:
Manuel Cortez 2019-02-20 10:40:08 -06:00
parent 207315937a
commit 3fce3c58e2
3 changed files with 8 additions and 3 deletions

View File

@ -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"]

View File

@ -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():
log.debug("Applying fix for Libloader...")
com.load_com = load_com
log.debug("Load_com has been mapped correctly.")

View File

@ -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