[config/respbats] Une solution plus propre pour definir l'encodage de sortie

On autorise PYTHONIOENCODING à être transmi via un sudo et on met des
export PYTHONIOENCODING=utf-8 \o/
This commit is contained in:
Valentin Samir 2013-11-26 02:05:26 +01:00
parent 17331e48d8
commit 8bd394dbe8
4 changed files with 3 additions and 6 deletions

View file

@ -1,2 +1,3 @@
#!/bin/sh
export PYTHONIOENCODING=utf-8
LANG=fr_FR.UTF-8 sudo -u respbats /usr/scripts/gestion/whos_lc.py $*