correct submitted bot path

This commit is contained in:
Ilion Beyst 2022-01-27 19:12:18 +01:00
parent 294c75823d
commit 4a7229b175

View file

@ -49,7 +49,7 @@ pub async fn submit_bot(
MatchPlayer { MatchPlayer {
name: "bot".to_string(), name: "bot".to_string(),
bot_spec: Box::new(DockerBotSpec { bot_spec: Box::new(DockerBotSpec {
code_path: PathBuf::from(SIMPLEBOT_PATH), code_path: uploaded_bot_dir,
image: PYTHON_IMAGE.to_string(), image: PYTHON_IMAGE.to_string(),
argv: vec!["python".to_string(), "bot.py".to_string()], argv: vec!["python".to_string(), "bot.py".to_string()],
}), }),