summaryrefslogtreecommitdiff
path: root/src/db.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/db.rs')
-rw-r--r--src/db.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.rs b/src/db.rs
index 8fd21b1..dde00ab 100644
--- a/src/db.rs
+++ b/src/db.rs
@@ -93,7 +93,7 @@ pub struct ModInfo {
93 pub title: String, 93 pub title: String,
94} 94}
95 95
96pub fn mods_get_info(config: Cfg, id: &str) -> MLE<ModInfo> { 96pub fn mods_get_info(config: &Cfg, id: &str) -> MLE<ModInfo> {
97 let data = format!("{}/data.db", config.data); 97 let data = format!("{}/data.db", config.data);
98 let connection = Connection::open(data)?; 98 let connection = Connection::open(data)?;
99 99