diff options
Diffstat (limited to 'planetwars-server/src/routes')
-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()], }), |