Commit 0eb53130 authored by Nicolas Joyard's avatar Nicolas Joyard

Compat python3 <3.5 (2e tentative...)

parent d9b59d60
...@@ -259,8 +259,8 @@ def extraire_mails_cada(app): ...@@ -259,8 +259,8 @@ def extraire_mails_cada(app):
outf.write(pdf) outf.write(pdf)
# Extraction du texte # Extraction du texte
out = subprocess.check_output(['pdftotext', pdfname, '-'], out = str(subprocess.check_output(['pdftotext', pdfname, '-']),
encoding='utf-8') encoding='utf-8')
# Vérification de la décision # Vérification de la décision
if AVIS_INCOMPETENCE not in out: if AVIS_INCOMPETENCE not in out:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment