From 971e4e9c6dbab422108919ae3355b6de774399bb Mon Sep 17 00:00:00 2001 From: swee Date: Wed, 8 Jan 2025 21:59:31 -0800 Subject: [PATCH] Update server.py --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index adee83e..d99c8ee 100644 --- a/server.py +++ b/server.py @@ -84,7 +84,7 @@ with open(sys.argv[1], 'r') as file: print("Successfully loaded config!") for i in modules: if not os.path.isabs(i): - i = os.path.dirname(__file__) + "/" + i + i = os.path.dirname(__file__) + "/modules/" + i try: print(f"Importing module {i}...") temp_module = importlib.util.spec_from_file_location(f"{i}.py")