1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Desktop, CLI: Fixes #1723: Import Evernote audio files correctly

This commit is contained in:
Laurent Cozic
2019-07-13 17:26:47 +01:00
parent f7203ed7e2
commit fa69957d3f
3 changed files with 9 additions and 7 deletions

View File

@ -129,7 +129,7 @@ class InteropService {
for (let i = 0; i < modules.length; i++) {
const m = modules[i];
if (type !== m.type) continue;
if (m.fileExtensions.indexOf(ext) >= 0) return m;
if (m.fileExtensions && m.fileExtensions.indexOf(ext) >= 0) return m;
}
return null;