Provide filename for recognizer server
This commit is contained in:
parent
b2acb5e339
commit
faec1f1dee
1 changed files with 1 additions and 0 deletions
|
@ -419,6 +419,7 @@ Zotero.RecognizePDF = new function () {
|
|||
if (!filePath || !await OS.File.exists(filePath)) throw new Zotero.Exception.Alert('recognizePDF.fileNotFound');
|
||||
|
||||
let json = await extractJSON(filePath, MAX_PAGES);
|
||||
json.fileName = OS.Path.basename(filePath);
|
||||
|
||||
let containingTextPages = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue