From e20bff0dbf2172b93ffa535437affe6b8ebc6b09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 9 Dec 2016 14:18:07 +0100 Subject: [PATCH] ignore t_pershistoline where type is null (#14248) --- tabellio/pcfdb/sync.py | 2 ++ 1 file changed, 2 insertions(+) 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':