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
ProfiT-HPC
aggregator
Commits
af990371
Commit
af990371
authored
Feb 24, 2020
by
Azat Khuziyakhmetov
Browse files
fixed minor bug with gzip in cache
parent
ce2c72fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
data.py
View file @
af990371
...
...
@@ -106,7 +106,7 @@ def check_cache_file(jobid, filename):
res
=
False
if
os
.
path
.
exists
(
cachefile
):
f
=
gzip
.
open
(
cachefile
,
"r"
)
f
=
gzip
.
open
(
cachefile
,
"r
t
"
)
content
=
f
.
read
()
if
content
!=
"init"
and
content
!=
""
:
res
=
content
...
...
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