From 2f925a066bbb3a945ecba966f549e8c94605443c Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Wed, 3 Jun 2015 11:53:38 -0400 Subject: [PATCH] Zotero reverses A2 and A3, so roll with it Fixes #31. Signed-off-by: Dan Scott --- ris2sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ris2sql b/ris2sql index da92e6b..9783a16 100755 --- a/ris2sql +++ b/ris2sql @@ -53,10 +53,11 @@ class RISParser: # multiple authors / editors per citation # see http://refdb.sourceforge.net/manual/ch07.html#sect1-ris-format + # but Zotero exports "series_editor" as A2 and "editor" as A3, argh author_map = { 'AU': 'author', - 'A2': 'editor', - 'A3': 'series_editor', + 'A3': 'editor', + 'A2': 'series_editor', 'A4': 'translator', 'A5': 'contributor' }