diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-05-17 15:03:44 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-05-17 15:03:44 +0200 |
commit | 3b3faa6bce254289dafed73e98352e2a76f1b94b (patch) | |
tree | 7c7c3708d762c71d32f2a58cb91cacafebf91f60 /src/peerinfo-tool/test_gnunet_peerinfo.py.in | |
parent | c2cd7ec031ff925294b5c4c0c992fe9014846430 (diff) | |
download | gnunet-3b3faa6bce254289dafed73e98352e2a76f1b94b.tar.gz gnunet-3b3faa6bce254289dafed73e98352e2a76f1b94b.zip |
- fix #6872
Diffstat (limited to 'src/peerinfo-tool/test_gnunet_peerinfo.py.in')
-rwxr-xr-x | src/peerinfo-tool/test_gnunet_peerinfo.py.in | 2 |
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: | |||
33 | from gnunet_pyexpect import pexpect | 33 | from gnunet_pyexpect import pexpect |
34 | 34 | ||
35 | #save LANG and set it to C | 35 | #save LANG and set it to C |
36 | mylang = os.environ['LANG'] | 36 | mylang = os.environ.get('LANG') |
37 | os.environ['LANG'] = 'C' | 37 | os.environ['LANG'] = 'C' |
38 | 38 | ||
39 | if os.name == 'posix': | 39 | if os.name == 'posix': |