summaryrefslogtreecommitdiff
path: root/boot/boot.py
diff options
context:
space:
mode:
Diffstat (limited to 'boot/boot.py')
-rwxr-xr-xboot/boot.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/boot/boot.py b/boot/boot.py
index c7afcfd..6ec7137 100755
--- a/boot/boot.py
+++ b/boot/boot.py
@@ -3,6 +3,9 @@
# This file exists for backwards compatibility with older versions of jasper.
# It might be removed in future versions.
import os
+import sys
import runpy
-script_path = os.path.join(os.path.dirname(__file__), os.pardir, "client", "main.py")
+script_path = os.path.join(os.path.dirname(__file__), os.pardir, "jasper.py")
+sys.path.remove(os.path.dirname(__file__))
+sys.path.insert(0, os.path.dirname(script_path))
runpy.run_path(script_path, run_name="__main__")