diff options
Diffstat (limited to 'src/db.rs')
-rw-r--r-- | src/db.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -361,7 +361,7 @@ pub fn lists_insert(config: Cfg, id: String, mc_version: String, mod_loader: Mod | |||
361 | Ok(()) | 361 | Ok(()) |
362 | } | 362 | } |
363 | 363 | ||
364 | pub fn lists_remove(config: Cfg, id: String) -> Result<(), Box<dyn std::error::Error>> { | 364 | pub fn lists_remove(config: Cfg, id: String) -> MLE<()> { |
365 | let data = devdir(format!("{}/data.db", config.data).as_str()); | 365 | let data = devdir(format!("{}/data.db", config.data).as_str()); |
366 | let connection = Connection::open(data)?; | 366 | let connection = Connection::open(data)?; |
367 | 367 | ||