From 53dcbc8ea3c116d7dd75640c39099ae165205471 Mon Sep 17 00:00:00 2001 From: Celine Mercier Date: Thu, 29 Aug 2019 18:26:51 +0200 Subject: [PATCH] Fixed log to be in str instead of bytes --- python/obitools3/uri/decode.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/obitools3/uri/decode.pyx b/python/obitools3/uri/decode.pyx index d7c15d2..1b0c93d 100755 --- a/python/obitools3/uri/decode.pyx +++ b/python/obitools3/uri/decode.pyx @@ -262,7 +262,7 @@ def open_uri(uri, if input: try: file = uopen(urip.path, mode='rb') - logger('info','Opened file: %s', urip.path) + logger('info','Opened file: %s', tostr(urip.path)) except Exception as e: # TODO discuss: if can't open file, return the character string itself file = tobytes(uri) iseq = urib