Fix regression from 9fec063f4e

This commit is contained in:
Dan Stillman 2018-08-16 05:20:03 -04:00
parent 8d105a7b18
commit 6d5abb55f0

View file

@ -212,6 +212,7 @@ Zotero.Translate.ItemSaver.prototype = {
try {
let resolvers = Zotero.Attachments.getPDFResolvers(item, ['oa']);
if (!resolvers.length) {
openAccessPDFURLs.set(item, []);
continue;
}
let urlObjects = await resolvers[0]();