[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:
parent
17331e48d8
commit
8bd394dbe8
4 changed files with 3 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
export PYTHONIOENCODING=utf-8
|
||||
if [ ! -e /usr/scripts/var/encodage_scripts/$UID ]; then
|
||||
cat /usr/scripts/var/encodage_scripts/disclaimer
|
||||
touch /usr/scripts/var/encodage_scripts/$UID
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue