From 33e1540f22b9bf3f39605337b7fdeb86f71617a2 Mon Sep 17 00:00:00 2001 From: themanyfaceddemon Date: Fri, 23 Aug 2024 15:14:05 +0300 Subject: [PATCH] isort moment --- Code/gui/conntect.py | 1 + Code/gui/main_app.py | 3 ++- Code/main.py | 1 + Code/root_path.py | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) 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]