Skip to content

Commit 8e7ded6

Browse files
committed
py: Fix SetAttr
1 parent 28b616d commit 8e7ded6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/internal.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ func SetAttrString(self Object, key string, value Object) Object {
268268

269269
// SetAttr
270270
func SetAttr(self Object, keyObj Object, value Object) Object {
271-
return GetAttrString(self, AttributeName(keyObj))
271+
return SetAttrString(self, AttributeName(keyObj), value)
272272
}
273273

274274
// DeleteAttrString

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy