mirror of
https://github.com/sreedevk/deduplicator.git
synced 2026-08-31 04:25:31 +00:00
bug fix: connection result issue
This commit is contained in:
@@ -23,7 +23,7 @@ fn db_connection_url(args: &Params) -> String {
|
||||
pub fn get_connection(args: &Params) -> Result<sqlite::Connection, sqlite::Error> {
|
||||
sqlite::open(db_connection_url(args)).and_then(|conn| {
|
||||
setup(&conn).ok();
|
||||
conn
|
||||
Ok(conn)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user