diff --git a/src/main.py b/src/main.py index 7041811..80863e7 100644 --- a/src/main.py +++ b/src/main.py @@ -1,9 +1,9 @@ # -*- coding: utf-8 -*- +import logger import sys import fixes if hasattr(sys, "frozen"): fixes.setup() -import logger import platform import languageHandler import widgetUtils diff --git a/src/paths.py b/src/paths.py index 715c779..c99bbe0 100644 --- a/src/paths.py +++ b/src/paths.py @@ -2,7 +2,7 @@ import platform import os import sys -import logging +#import logging from platform_utils import paths as paths_ from functools import wraps @@ -10,7 +10,7 @@ from functools import wraps mode = "portable" directory = None -log = logging.getLogger("paths") +#log = logging.getLogger("paths") def merge_paths(func): @wraps(func) @@ -31,7 +31,7 @@ def config_path(): elif mode == "installed": path = data_path("config") if not os.path.exists(path): - log.debug("%s path does not exist, creating..." % (path,)) +# log.debug("%s path does not exist, creating..." % (path,)) os.mkdir(path) return path @@ -44,7 +44,7 @@ def logs_path(): elif mode == "installed": path = data_path("logs") if not os.path.exists(path): - log.debug("%s path does not exist, creating..." % (path,)) +# log.debug("%s path does not exist, creating..." % (path,)) os.mkdir(path) return path @@ -75,6 +75,6 @@ def com_path(): elif mode == "installed": path = data_path(u"com_cache") if not os.path.exists(path): - log.debug("%s path does not exist, creating..." % (path,)) +# log.debug("%s path does not exist, creating..." % (path,)) os.mkdir(path) return path