Commit af990371 authored by akhuziy's avatar akhuziy
Browse files

fixed minor bug with gzip in cache

parent ce2c72fc
......@@ -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, "rt")
content = f.read()
if content != "init" and content != "":
res = content
......
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