summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tabellio/pcfdb/sync.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tabellio/pcfdb/sync.py b/tabellio/pcfdb/sync.py
index e0db924..b0368e3 100644
--- a/tabellio/pcfdb/sync.py
+++ b/tabellio/pcfdb/sync.py
@@ -1039,7 +1039,10 @@ class SyncFromPcfDbView(BrowserView):
else:
object.authors = []
- object.commissions = [RelationValue(self.get_commission_intid(x)) for x in curcom or []]
+ try:
+ object.commissions = [RelationValue(self.get_commission_intid(x)) for x in curcom or []]
+ except AttributeError:
+ pass
if polgroups:
polgroups = [self.get_polgroup_intid(polgroups_id_to_title[x]) for x in polgroups]