summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tabellio/pcfdb/sync.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tabellio/pcfdb/sync.py b/tabellio/pcfdb/sync.py
index f43da91..5b64bdb 100644
--- a/tabellio/pcfdb/sync.py
+++ b/tabellio/pcfdb/sync.py
@@ -562,6 +562,8 @@ class SyncFromPcfDbView(BrowserView):
if row is None:
break
debut, fin, type, description, comppol = row
+ if not description:
+ continue
if type in ('P_FONC', 'M_FONC', 'M_PREM', 'P_COMM_SE'):
title = description
elif type == 'P_PARL':