diff --git a/hyde/model.py b/hyde/model.py index 3854eee..f9e166d 100644 --- a/hyde/model.py +++ b/hyde/model.py @@ -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): """