minor typo conect -> connect

pull/803/head
Richard Huang 5 years ago
parent 95dd1cd7ad
commit d592323e39
No known key found for this signature in database
GPG Key ID: FFDEF81D05C2EC94

@ -157,7 +157,7 @@ fn check_db() {
// Turn on WAL in SQLite
if CONFIG.enable_db_wal() {
use diesel::RunQueryDsl;
let connection = db::get_connection().expect("Can't conect to DB");
let connection = db::get_connection().expect("Can't connect to DB");
diesel::sql_query("PRAGMA journal_mode=wal")
.execute(&connection)
.expect("Failed to turn on WAL");

Loading…
Cancel
Save