From cb06b085f5a63e20427521e5502cc295981ea8f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 8 May 2012 16:16:24 +0200 Subject: [PATCH] fix sync of 'auteurs' metadata --- themis/importexport/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themis/importexport/sync.py b/themis/importexport/sync.py index 0c7b5a6..1373748 100644 --- a/themis/importexport/sync.py +++ b/themis/importexport/sync.py @@ -291,7 +291,7 @@ class SyncFromThemis(UtilityView): if type(authors_v) is not list: authors_v = [authors_v] elif data.get('auteurs'): - authors_v = data.get('auteur') + authors_v = data.get('auteurs') if authors_v == ['ministry:college']: object.author_is_government = True elif authors_v: