removed print statement

This commit is contained in:
liyunze 2026-01-07 00:05:49 +08:00
parent 28c4937eda
commit f46eecf432

View file

@ -8,14 +8,6 @@ pub fn init_db() -> Result<Connection, rusqlite::Error> {
let filepath = Path::new(&filename);
match filepath.canonicalize() {
Ok(abs_path) => println!("Absolute filepath: {:?}", abs_path),
Err(_) => println!(
"Filepath (not yet created): {:?}",
fs::canonicalize(".").unwrap().join(&filename)
),
}
if let Some(parent) = filepath.parent() {
if !parent.as_os_str().is_empty() {
fs::create_dir_all(parent).expect("Failed to create database directory");