add the script folder to the path

This commit is contained in:
2022-05-11 11:51:57 +02:00
parent 8fd394824e
commit 08218dd318

View File

@ -114,6 +114,8 @@ if __name__ == "__main__":
msg = f"{tn}: {e}"
raise SystemExit(msg)
sys.path.insert(0, os.getcwd()) # add the script folder to the path
host = clargs.host
port = clargs.port