summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2021-05-18 09:49:20 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2021-05-18 09:49:20 +0200
commit00c21152e81c10dff640ec932127e74ea8bc25ac (patch)
tree770fb3521a19363fad07f9649366e88fcdada150
parent3b3faa6bce254289dafed73e98352e2a76f1b94b (diff)
- fix #6872 again
-rwxr-xr-xsrc/peerinfo-tool/test_gnunet_peerinfo.py.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/peerinfo-tool/test_gnunet_peerinfo.py.in b/src/peerinfo-tool/test_gnunet_peerinfo.py.in
index ad5d096b5..709556f70 100755
--- a/src/peerinfo-tool/test_gnunet_peerinfo.py.in
+++ b/src/peerinfo-tool/test_gnunet_peerinfo.py.in
@@ -139,4 +139,5 @@ finally:
else:
shutil.rmtree("/tmp/gnunet-test-peerinfo", True)
#Reset LANG
- os.environ['LANG'] = mylang
+ if type(mylang) == str:
+ os.environ['LANG'] = mylang