Commit 53dcbc8e by Celine Mercier

Fixed log to be in str instead of bytes

parent 4e75514b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment