diff options
author | Terence Honles <terence@honles.com> | 2016-03-06 23:09:15 -0800 |
---|---|---|
committer | Terence Honles <terence@honles.com> | 2016-03-06 23:09:15 -0800 |
commit | c95ca3913eccf360207bbfc69bd52a91fc77197f (patch) | |
tree | 76cc8901b3dade32e29c56e18c02c23447f1c0cd | |
parent | 13f29e9f66e79eedefeaacf531ab002955514aee (diff) | |
download | fusepy-c95ca3913eccf360207bbfc69bd52a91fc77197f.tar.gz |
fix string encoding as referenced in #24/#25
-rw-r--r-- | fuse.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -579,7 +579,7 @@ class FUSE(object): attrs = self.operations('listxattr', path.decode(self.encoding)) or '' ret = '\x00'.join(attrs).encode(self.encoding) if len(ret) > 0: - ret += '\x00' + ret += '\x00'.encode(self.encoding) retsize = len(ret) # allow size queries |