Update server.py
This commit is contained in:
parent
03097cfd33
commit
971e4e9c6d
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue