Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nicolas MAILLET
rpg
Commits
2652afef
Commit
2652afef
authored
Feb 03, 2021
by
Nicolas MAILLET
Browse files
Fix for python3.5 compatibility
parent
1433b5b4
Pipeline
#47177
failed with stages
in 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rpg/core.py
View file @
2652afef
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment