From c279576ee2dd2636f366785b49ac8ccf15213309 Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 12 Nov 2024 17:37:47 +0200 Subject: [PATCH] use write method --- src/profile/database.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/profile/database.rs b/src/profile/database.rs index faedf5f1..e7b5e217 100644 --- a/src/profile/database.rs +++ b/src/profile/database.rs @@ -25,7 +25,7 @@ impl Database { }; // Init profile components - match connection.try_write() { + match connection.write() { Ok(writable) => { if let Err(reason) = init(writable) { panic!("{reason}")