Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Next Next commit
Fix Windows
  • Loading branch information
vstinner committed Jun 5, 2024
commit 283bdb2cc48bfa340ab1ad977fa83efb3628d3da
2 changes: 1 addition & 1 deletion Lib/os.py
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ def refresh(self):
if name == 'nt':
data = {}
for key, value in environ.items():
data[encodekey(key)] = value
data[self.encodekey(key)] = value
else:
data = environ

Expand Down