From 28363088fee6ee68145ed7f5044b3f3bfedaeefd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 14 Nov 2011 17:00:01 +0100 Subject: [PATCH] update meeting places with building names (#867) --- tabellio/pcfdb/sync.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tabellio/pcfdb/sync.py b/tabellio/pcfdb/sync.py index 9589c41..25f1f72 100644 --- a/tabellio/pcfdb/sync.py +++ b/tabellio/pcfdb/sync.py @@ -1068,6 +1068,11 @@ class SyncFromPcfDbView(BrowserView): # beginning time has been set, to keep titles with nice at # the hour times. object.title = title + if lieu == u'Hémicycle': + lieu = u'Hôtel de Ligne - Hémicycle' + elif lieu: + lieu = lieu.replace(u'HL ', u'Hôtel de Ligne - ') + lieu = lieu.replace(u'HG ', u'Hôtel du Greffe - ') object.place = lieu object.session = sess object.start = start