diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-04-05 12:52:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-05 12:52:07 -0400 |
commit | 3684a479c5e12efe63c54e5532a264d157a6816d (patch) | |
tree | bb1a3141c37836ab0f8a1cbff5ed781cc41eac39 /ext/bg/js/util.js | |
parent | 058f626efd6c5d6fae66346d487c10930d769971 (diff) | |
parent | 9052ab8ebd5af505f1992bfc001b226202e2f393 (diff) |
Merge pull request #424 from toasted-nutbread/dictionary-importer
Dictionary importer
Diffstat (limited to 'ext/bg/js/util.js')
-rw-r--r-- | ext/bg/js/util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/util.js b/ext/bg/js/util.js index 79c6af06..a7ed4a34 100644 --- a/ext/bg/js/util.js +++ b/ext/bg/js/util.js @@ -118,7 +118,7 @@ async function utilDatabaseDeleteDictionary(dictionaryName, onProgress) { async function utilDatabaseImport(data, onProgress, details) { data = await utilReadFile(data); - return utilIsolate(await utilBackend().translator.database.importDictionary( + return utilIsolate(await utilBackend().importDictionary( utilBackgroundIsolate(data), utilBackgroundFunctionIsolate(onProgress), utilBackgroundIsolate(details) |