commit 8547dedca916f012d6338de731ab2c2a18ea42a9 parent 46fc28dc16a172a1a1375aad99e14dff902cc25b Author: Dan Stillman <dstillman@zotero.org> Date: Sat, 9 Jun 2018 02:26:12 -0400 Add debug output for unrecognized Mendeley DB issue Diffstat:
| M | chrome/content/zotero/fileInterface.js | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/fileInterface.js b/chrome/content/zotero/fileInterface.js @@ -340,6 +340,14 @@ var Zotero_File_Interface = new function() { defaultNewCollectionPrefix = "Mendeley Import"; } else { + // TEMP + if (file.path.endsWith('.sqlite')) { + let codes = []; + for (let i = 0; i < sample.length; i++) { + codes.push(sample.charCodeAt(i)); + } + Zotero.debug(codes.join(' ')); + } translation = new Zotero.Translate.Import(); }