remove println

This commit is contained in:
Felix Ableitner 2023-08-01 11:36:01 +02:00
parent 67b77e1963
commit e2c3214f9b

View file

@ -66,7 +66,6 @@ pub(crate) const REQWEST_TIMEOUT: Duration = Duration::from_secs(10);
/// Placing the main function in lib.rs allows other crates to import it and embed Lemmy /// Placing the main function in lib.rs allows other crates to import it and embed Lemmy
pub async fn start_lemmy_server() -> Result<(), LemmyError> { pub async fn start_lemmy_server() -> Result<(), LemmyError> {
println!("test 4");
let args: Vec<String> = env::args().collect(); let args: Vec<String> = env::args().collect();
let scheduled_tasks_enabled = args.get(1) != Some(&"--disable-scheduled-tasks".to_string()); let scheduled_tasks_enabled = args.get(1) != Some(&"--disable-scheduled-tasks".to_string());