We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcd69a6 commit 96f6066Copy full SHA for 96f6066
1 file changed
os/os.module.go
@@ -48,7 +48,7 @@ func init() {
48
func getEnvVariables() py.StringDict {
49
vs := os.Environ()
50
dict := py.NewStringDict()
51
- for _, evar := range env_variables {
+ for _, evar := range vs {
52
key_value := strings.SplitN(evar, "=", 2) // returns a []string containing [key,value]
53
dict.M__setitem__(py.String(key_value[0]), py.String(key_value[1]))
54
}
0 commit comments