[affich_tools] Clash de nom de variable
This commit is contained in:
parent
9bf2dd9bd0
commit
fdf7ca8c45
1 changed files with 4 additions and 0 deletions
|
@ -76,6 +76,10 @@ def dialog(backtitle, arg, dialogrc=''):
|
|||
"--cancel-label", "Retour"
|
||||
] + arg
|
||||
|
||||
# On sort de l'unicode sandwich, il faut donc transformer en bytes encodés
|
||||
# en UTF-8.
|
||||
commande = [to_encoding(elem) for elem in commande]
|
||||
|
||||
# On copie l'environnement afin de pouvoir écraser une variable pour
|
||||
# l'appel au programme dialog sans que cela affecte les autres processus.
|
||||
environnement = os.environ.copy()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue