Made them communicate but somehow broke "hello" messages

This commit is contained in:
2025-02-07 21:16:33 +01:00
parent 9425c2cccc
commit e2869fb8a2
8 changed files with 125 additions and 2 deletions
+3 -1
View File
@@ -1,4 +1,4 @@
use crate::{Context, Error};
use crate::{rs_println, websocket, Context, Error};
use crate::messages::send_msg;
use std::fs;
@@ -23,6 +23,8 @@ pub async fn bk_week_get(
) -> Result<(), Error>
{
// log all posts in a thread
rs_println!("Sending hello to python...");
websocket::send_msg("Hello from Rust!").await;
return Ok(());
}