This website works better with JavaScript.
Home
Explore
Help
Sign In
jmg
/
hyde
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Prevent Unicode errors if a meta key contains non-ascii chars.
main
pestaa
13 years ago
parent
ca7ff79326
commit
b413e65646
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
hyde/model.py
+ 1
- 1
hyde/model.py
View File
@@ -44,7 +44,7 @@ class Expando(object):
Sets the expando attribute after
transforming the value.
"""
setattr(self, key, self.transform(value))
setattr(self, key
.encode('utf-8')
, self.transform(value))
def transform(self, primitive):
"""
Write
Preview
Loading…
Cancel
Save