Hack fix for relative import issue.

Alternatives are to use a setup-install util, which is an over-solution
This commit is contained in:
andrew committed 2024-02-15 22:31:56 -05:00
1 parent bb30aab72d
commit 8efe0f919c
2 files changed
+6 -7

No files matched your search

+2 -2
View File
@@ -26,9 +26,9 @@ import sys
# Needed to include from ../Client/*.py
PARENT = os.path.join(os.path.dirname(__file__), os.path.pardir)
sys.path.append(os.path.abspath(PARENT))
sys.path.append(os.path.abspath(os.path.join(PARENT, 'Client')))
from Client.bench import run_benchmark
from bench import run_benchmark
if __name__ == '__main__':