From f5b58cfe587e40d91b130c26b86f4bb2aeccf808 Mon Sep 17 00:00:00 2001 From: Nate Bowman Date: Thu, 8 Oct 2026 18:36:48 -0400 Subject: [PATCH] Use absolute path to curl The process was not finding curl when launched via Supervisor --- website/download.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/download.py b/website/download.py index 3d77107..e78c662 100644 --- a/website/download.py +++ b/website/download.py @@ -11,7 +11,7 @@ logger = logging.getLogger(__name__) def _download_max_players() -> None: # be sure to use single quotes within the command to prevent shell escaping cmd = ( - f"curl -s" + f"/usr/bin/curl -s" f" -u 'anonymous:{config.share['password']}'" f" -o '{config.max_player_spreadsheet_path}'" f" '{config.share['uri']}'" @@ -28,7 +28,7 @@ def _download_games(user: str) -> None: # be sure to use single quotes within the command to prevent shell escaping cmd = ( - f"curl {CURL_OPTIONS} '{STEAM_API_URI}" + f"/usr/bin/curl {CURL_OPTIONS} '{STEAM_API_URI}" f"?key={config.key}" f"{STEAM_OPTIONS}" f"&steamid={config.users[user]}'"