summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2011-11-22 08:35:01 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2011-11-22 08:35:01 (GMT)
commit527ed6a3b7a619c35b52074dd976d5fdbdc74b48 (patch)
treeffda2a24d3eafe4b3be5e909ea66a03c8e12cfd2
parent5549aa29bd20fad1790ce9e7aafeafde87852bef (diff)
downloadtabellio.pcfdb-527ed6a3b7a619c35b52074dd976d5fdbdc74b48.zip
tabellio.pcfdb-527ed6a3b7a619c35b52074dd976d5fdbdc74b48.tar.gz
tabellio.pcfdb-527ed6a3b7a619c35b52074dd976d5fdbdc74b48.tar.bz2
use "Vote" instead of "Envoi à la sanction" to know adoption date
-rw-r--r--tabellio/pcfdb/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tabellio/pcfdb/sync.py b/tabellio/pcfdb/sync.py
index dfac75b..2b0d06c 100644
--- a/tabellio/pcfdb/sync.py
+++ b/tabellio/pcfdb/sync.py
@@ -807,7 +807,7 @@ class SyncFromPcfDbView(BrowserView):
'''SELECT date
FROM t_histoline
WHERE idhisto = %s
- AND descr = %s''', (idhisto, u'Envoi à la sanction')))
+ AND descr = %s''', (idhisto, u'Vote')))
row = decret_cursor.fetchone()
if row is not None:
object.adoption_date = row[0]