summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei Mihai <smihai@entrouvert.com>2020-10-02 13:02:32 (GMT)
committerSerghei Mihai <smihai@entrouvert.com>2020-10-02 13:02:32 (GMT)
commitdab0db7a2c978583bbf8055449030797936db3b5 (patch)
tree58d015af569f4377a67de565a70d97acdd1b4211
parent7c4616f7e85b9fb6e89ed0b8755439592de541ff (diff)
downloadpublik-client-scripts-dab0db7a2c978583bbf8055449030797936db3b5.zip
publik-client-scripts-dab0db7a2c978583bbf8055449030797936db3b5.tar.gz
publik-client-scripts-dab0db7a2c978583bbf8055449030797936db3b5.tar.bz2
orleans: do not explicit data encoding (#47287)v1.21
-rw-r--r--clients/orleans/sync-creche-events.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/clients/orleans/sync-creche-events.py b/clients/orleans/sync-creche-events.py
index 032ef84..d6c8420 100644
--- a/clients/orleans/sync-creche-events.py
+++ b/clients/orleans/sync-creche-events.py
@@ -16,10 +16,9 @@ if not os.path.exists(sys.argv[1]):
sys.exit(0)
FILE_PATH = sys.argv[1]
-FILE_ENCODING = 'ISO-8859-1'
with zipfile.ZipFile(FILE_PATH) as data:
- csv_fd = io.TextIOWrapper(data.open('extract_prcit_planning_creche.csv'), encoding=FILE_ENCODING)
+ csv_fd = io.TextIOWrapper(data.open('extract_prcit_planning_creche.csv'))
reader = csv.reader(csv_fd, delimiter=';')
# skip header line