From 72b1b3b28fb13528a8c6ea5b8ee5ac62d69be28d Mon Sep 17 00:00:00 2001 From: Eric Biagiotti Date: Wed, 26 Jun 2019 11:38:48 -0400 Subject: [PATCH] 14965: Fixes read operation encoding Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti --- services/fuse/arvados_fuse/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/fuse/arvados_fuse/__init__.py b/services/fuse/arvados_fuse/__init__.py index 76bba952ad..4916b7cae6 100644 --- a/services/fuse/arvados_fuse/__init__.py +++ b/services/fuse/arvados_fuse/__init__.py @@ -662,7 +662,7 @@ class Operations(llfuse.Operations): r = handle.obj.readfrom(off, size, self.num_retries) if r: self.read_counter.add(len(r)) - return r + return r.encode('utf-8') @write_time.time() @catch_exceptions -- 2.30.2