.local path
This commit is contained in:
@ -16,8 +16,6 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let dir_path = proj_dirs.data_dir();
|
||||
let dir_path_str = dir_path.to_str().expect("Invalid path").to_string();
|
||||
|
||||
println!("Dossier de données : {}", dir_path_str);
|
||||
|
||||
let db = Arc::new(Mutex::new(Database::init(&dir_path_str)?));
|
||||
|
||||
// println!("{:#?}", db.lock().unwrap().read_history());
|
||||
|
||||
Reference in New Issue
Block a user