From b0de59fe894b2df0e296f2b4c6d57c151e4f16a7 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 9 Mar 2020 22:46:03 -0400 Subject: [PATCH] Fix OPML import (regression from 5.0.78) --- chrome/content/zotero/zoteroPane.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index d38508b4c3..c772bde533 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -914,7 +914,7 @@ var ZoteroPane = new function() fp.appendFilter(Zotero.getString('fileInterface.OPMLFeedFilter'), '*.opml; *.xml'); fp.appendFilters(fp.filterAll); if (await fp.show() == fp.returnOK) { - var contents = await Zotero.File.getContentsAsync(fp.file.path); + var contents = await Zotero.File.getContentsAsync(fp.file); var success = await Zotero.Feeds.importFromOPML(contents); if (success) { return true;