summaryrefslogtreecommitdiff
path: root/src/db.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2023-05-25 11:16:16 +0200
committerfxqnlr <[email protected]>2023-05-25 11:16:16 +0200
commit529d52534c300aec4a6e3e9e08f9762a401f7086 (patch)
tree463d3538dd295bbf6416ca3f141a1395d6cd1b76 /src/db.rs
parent016e1d8d760113a64afcc5d516f08010cb566d68 (diff)
downloadmodlist-529d52534c300aec4a6e3e9e08f9762a401f7086.tar
modlist-529d52534c300aec4a6e3e9e08f9762a401f7086.tar.gz
modlist-529d52534c300aec4a6e3e9e08f9762a401f7086.zip
added more progress
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