X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/282d7a0c9d8279fa0a1293573e4313c8223be1b5..e2b3ed63a292537ec7bf37a904ad2925d6afa0bf:/sdk/cwl/arvados_cwl/done.py diff --git a/sdk/cwl/arvados_cwl/done.py b/sdk/cwl/arvados_cwl/done.py index c0e3e0de2a..e12fe185a0 100644 --- a/sdk/cwl/arvados_cwl/done.py +++ b/sdk/cwl/arvados_cwl/done.py @@ -70,7 +70,7 @@ def logtail(logcollection, logfunc, header, maxlen=25): logname = log[:-4] logt = deque([], maxlen) mergelogs[logname] = logt - with logcollection.open(log) as f: + with logcollection.open(log, encoding="utf-8") as f: for l in f: if containersapi: g = timestamp_re.match(l)