summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2021-05-17 15:03:44 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2021-05-17 15:03:44 +0200
commit3b3faa6bce254289dafed73e98352e2a76f1b94b (patch)
tree7c7c3708d762c71d32f2a58cb91cacafebf91f60
parentc2cd7ec031ff925294b5c4c0c992fe9014846430 (diff)
- fix #6872
-rwxr-xr-xsrc/peerinfo-tool/test_gnunet_peerinfo.py.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peerinfo-tool/test_gnunet_peerinfo.py.in b/src/peerinfo-tool/test_gnunet_peerinfo.py.in
index 9d6fd8fb2..ad5d096b5 100755
--- a/src/peerinfo-tool/test_gnunet_peerinfo.py.in
+++ b/src/peerinfo-tool/test_gnunet_peerinfo.py.in
@@ -33,7 +33,7 @@ if gnunet_pyexpect_dir not in sys.path:
from gnunet_pyexpect import pexpect
#save LANG and set it to C
-mylang = os.environ['LANG']
+mylang = os.environ.get('LANG')
os.environ['LANG'] = 'C'
if os.name == 'posix':