diff --git a/screen_locker/install_systemd.sh b/screen_locker/install_systemd.sh index aa07798..e353eed 100755 --- a/screen_locker/install_systemd.sh +++ b/screen_locker/install_systemd.sh @@ -89,4 +89,4 @@ fi # Immediately check if today's workout is done; block if not echo "" echo "=== Checking today's workout status ===" -python3 "$SCREEN_LOCK_PATH" --production +PYTHONPATH="$(cd "$SCRIPT_DIR/../.." && pwd)" python3 "$SCREEN_LOCK_PATH" --production