From 2d9f121b8d387e072ccabe61d8e5246cba4fb5fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Rodrigo?= Date: Mon, 9 Sep 2019 18:34:43 +0200 Subject: [PATCH] Fix Avoid duplicate in analyser_merge_geodesie #560 --- analysers/analyser_merge_geodesie.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analysers/analyser_merge_geodesie.py b/analysers/analyser_merge_geodesie.py index 8026419cb..272b7923a 100644 --- a/analysers/analyser_merge_geodesie.py +++ b/analysers/analyser_merge_geodesie.py @@ -34,7 +34,7 @@ def __init__(self, config, logger = None): file = "geodesie.csv.bz2"), header = False), Load("lon", "lat", - where = lambda res: not('Point constaté détruit' in res['description'] or 'Point non retrouvé' in res['description']), # No more uniq ref + where = lambda res: not(u'Point constaté détruit' in res[u'description'] or u'Point non retrouvé' in res[u'description']), # No more uniq ref create = """ id VARCHAR(254) PRIMARY KEY, lat VARCHAR(254),