mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-25 16:23:20 +02:00
Fix crash when compressing mathjax on CI servers
This commit is contained in:
parent
b82d86bcfb
commit
f6ef5f3cf7
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ def run(self, opts):
|
|||
zf.comment = self.h.hexdigest()
|
||||
t.seek(0)
|
||||
with open(self.j(self.RESOURCES, 'content-server', 'mathjax.zip.xz'), 'wb') as f:
|
||||
compress(t, f, level=1 if is_ci else 9)
|
||||
compress(t, f, level=4 if is_ci else 9)
|
||||
with open(self.j(self.RESOURCES, 'content-server', 'mathjax.version'), 'wb') as f:
|
||||
f.write(zf.comment)
|
||||
finally:
|
||||
|
|
|
|||
Loading…
Reference in a new issue