mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 05:28:04 +00:00
Windows doesn't like Unicode strings in os.environ in Python 2.7.
This commit is contained in:
parent
94d489ff46
commit
cbbe260a4e
@ -239,7 +239,7 @@ def _synchronously_find_addresses_via_config():
|
||||
def _query(path, args, regex):
|
||||
if not os.path.isfile(path):
|
||||
return []
|
||||
env = {'LANG': 'en_US.UTF-8'}
|
||||
env = {native_str('LANG'): native_str('en_US.UTF-8')}
|
||||
TRIES = 5
|
||||
for trial in range(TRIES):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user