From c4e54d81cc54626200145bcdde15212e1f750bb6 Mon Sep 17 00:00:00 2001 From: Boris Pozdena Date: Sat, 30 Jul 2022 22:09:05 +0200 Subject: [PATCH] Fix broken logging. --- src/OneDriveGUI.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/OneDriveGUI.py b/src/OneDriveGUI.py index c97488d..8cc1bc3 100644 --- a/src/OneDriveGUI.py +++ b/src/OneDriveGUI.py @@ -62,9 +62,6 @@ GUI_SETTINGS_FILE = os.path.expanduser("~/.config/onedrive-gui/gui_settings") DIR_PATH = os.path.dirname(os.path.realpath(__file__)) APPIMAGE = True if "tmp/.mount_One" in DIR_PATH else False -logging.debug(f"[GUI] Running from directory: {DIR_PATH}") - - # Logging # TODO: Implement logging configuration into the GUI. log_dir = os.path.expanduser("~/.config/onedrive-gui/") @@ -81,6 +78,8 @@ logging.basicConfig( level=logging.DEBUG, ) +logging.debug(f"[GUI] Running from directory: {DIR_PATH}") + class SetupWizard(QWizard): def __init__(self, parent=None):