diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-01-27 19:12:18 +0100 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-01-27 19:12:18 +0100 |
commit | 4a7229b175abfe782696d29cfe664e092c3d970e (patch) | |
tree | 41ff774c07c1dec02d8d4e4625051af03bd6fd73 /planetwars-server/src | |
parent | 294c75823d323057e07d6791b9b8ffb6d139b03f (diff) | |
download | planetwars.dev-4a7229b175abfe782696d29cfe664e092c3d970e.tar.xz planetwars.dev-4a7229b175abfe782696d29cfe664e092c3d970e.zip |
correct submitted bot path
Diffstat (limited to 'planetwars-server/src')
-rw-r--r-- | planetwars-server/src/routes/demo.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/planetwars-server/src/routes/demo.rs b/planetwars-server/src/routes/demo.rs index bf375f0..16ec8f1 100644 --- a/planetwars-server/src/routes/demo.rs +++ b/planetwars-server/src/routes/demo.rs @@ -49,7 +49,7 @@ pub async fn submit_bot( MatchPlayer { name: "bot".to_string(), bot_spec: Box::new(DockerBotSpec { - code_path: PathBuf::from(SIMPLEBOT_PATH), + code_path: uploaded_bot_dir, image: PYTHON_IMAGE.to_string(), argv: vec!["python".to_string(), "bot.py".to_string()], }), |