diff --git a/Code/gui/conntect.py b/Code/gui/conntect.py index 30f35cc..d79eb8d 100644 --- a/Code/gui/conntect.py +++ b/Code/gui/conntect.py @@ -1,5 +1,6 @@ import logging from pathlib import Path + import dearpygui.dearpygui as dpg from DMBotNetwork import Client from root_path import ROOT_PATH diff --git a/Code/gui/main_app.py b/Code/gui/main_app.py index a956e58..8d09c0e 100644 --- a/Code/gui/main_app.py +++ b/Code/gui/main_app.py @@ -2,10 +2,11 @@ from dearpygui_async import DearPyGuiAsync from DMBotTools import Coordinate +from .conntect import ConnectManager from .fonts import FontManager from .map import MapRenderer from .settings import SettingsManager -from .conntect import ConnectManager + class DMClientApp: def __init__(self): diff --git a/Code/main.py b/Code/main.py index 06e647c..08f69c6 100644 --- a/Code/main.py +++ b/Code/main.py @@ -1,4 +1,5 @@ import logging + from DMBotNetwork import Client from gui.main_app import DMClientApp diff --git a/Code/root_path.py b/Code/root_path.py index 1b03823..6704866 100644 --- a/Code/root_path.py +++ b/Code/root_path.py @@ -1,3 +1,3 @@ from pathlib import Path -ROOT_PATH = Path(__file__).resolve().parent.parent +ROOT_PATH = Path(__file__).parents[1]