summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2011-11-14 16:00:01 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2011-11-14 16:00:01 (GMT)
commit28363088fee6ee68145ed7f5044b3f3bfedaeefd (patch)
treef3d12d28a8f49f81dc8df73461898fb68685b0d3
parent88980d403d24bf7be0c635c18c5c755dfbb24bb1 (diff)
downloadtabellio.pcfdb-28363088fee6ee68145ed7f5044b3f3bfedaeefd.zip
tabellio.pcfdb-28363088fee6ee68145ed7f5044b3f3bfedaeefd.tar.gz
tabellio.pcfdb-28363088fee6ee68145ed7f5044b3f3bfedaeefd.tar.bz2
update meeting places with building names (#867)
-rw-r--r--tabellio/pcfdb/sync.py5
1 files changed, 5 insertions, 0 deletions
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