From 3b3faa6bce254289dafed73e98352e2a76f1b94b Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Mon, 17 May 2021 15:03:44 +0200 Subject: - fix #6872 --- src/peerinfo-tool/test_gnunet_peerinfo.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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': -- cgit v1.2.3