summaryrefslogtreecommitdiffstats
path: root/tabellio/pcfdb/sync.py
diff options
context:
space:
mode:
Diffstat (limited to 'tabellio/pcfdb/sync.py')
-rw-r--r--tabellio/pcfdb/sync.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tabellio/pcfdb/sync.py b/tabellio/pcfdb/sync.py
index 988b1ca..e0db924 100644
--- a/tabellio/pcfdb/sync.py
+++ b/tabellio/pcfdb/sync.py
@@ -976,9 +976,8 @@ class SyncFromPcfDbView(BrowserView):
log.debug('going to update meeting %s with doc %s', meeting_id, object.no)
if hasattr(self.parlevents_folder, meeting_id):
meeting = getattr(self.parlevents_folder, meeting_id)
- if meeting.cri is None:
- doc_intid = self.intids.getId(object)
- meeting.cri = RelationValue(doc_intid)
+ doc_intid = self.intids.getId(object)
+ meeting.cri = RelationValue(doc_intid)
else:
log.debug('not meeting found for %s', object.no)
meeting_cursor.close()