mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-08 17:35:18 +00:00
fix downloader, no bundle
This commit is contained in:
1 parent
5380742513
commit
047054f8f7
4 files changed
+129
-191
No files matched your search
@@ -192,7 +192,10 @@ impl AppService {
|
||||
{
|
||||
let conn = Connection::open(self.db.dir.join(YOMITAN_DBFILE))?;
|
||||
for z in to_be_removed_dicts.clone().iter() {
|
||||
conn.execute("DELETE FROM dictionaries WHERE bundle_name = ?1", [z])?;
|
||||
conn.execute(
|
||||
"DELETE FROM dictionaries WHERE bundle_name = ?1 AND lang = ?2",
|
||||
[z, lang],
|
||||
)?;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user