summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/xattrs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xattrs.py b/fs/xattrs.py
index 79330c1..27a8abc 100644
--- a/fs/xattrs.py
+++ b/fs/xattrs.py
@@ -97,7 +97,7 @@ class SimulateXAttr(WrapFS):
if not self.exists(path):
raise ResourceNotFoundError(path)
attrs = self._get_attr_dict(path)
- attrs[key] = value
+ attrs[key] = str(value)
self._set_attr_dict(path, attrs)
def getxattr(self, path, key, default=None):