mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
refactoring
This commit is contained in:
@@ -126,8 +126,6 @@ async function ocrTextFromBuffer(buffer) {
|
||||
}
|
||||
|
||||
async function runOcr(note, buffer) {
|
||||
console.log("buffer length", buffer.length);
|
||||
|
||||
if (!note.isImage()
|
||||
|| !optionService.getOptionBool('ocrImages')
|
||||
|| cls.isOcrDisabled()
|
||||
|
||||
Reference in New Issue
Block a user