diff options
Diffstat (limited to 'src/db.rs')
-rw-r--r-- | src/db.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -93,7 +93,7 @@ pub struct ModInfo { | |||
93 | pub title: String, | 93 | pub title: String, |
94 | } | 94 | } |
95 | 95 | ||
96 | pub fn mods_get_info(config: Cfg, id: &str) -> MLE<ModInfo> { | 96 | pub 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 | ||