Commit 2652afef authored by Nicolas  MAILLET's avatar Nicolas MAILLET
Browse files

Fix for python3.5 compatibility

parent 1433b5b4
Pipeline #47177 failed with stages
in 10 seconds
......@@ -219,7 +219,7 @@ def next_read(file, offset_start, offset_end):
:type offset_end: int
"""
# Is it a GZIP file?
test_file = open(file, "rb")
test_file = open(str(file), "rb")
# Get the first values
magic = test_file.read(2)
# Close the file
......
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