mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1812891 [calibre-3.38.1 tries to download mathjax during build](https://bugs.launchpad.net/calibre/+bug/1812891) again
This commit is contained in:
parent
b1c9b2ba71
commit
e0d5a021dd
@ -78,6 +78,7 @@ class MathJax(Command):
|
|||||||
def run(self, opts):
|
def run(self, opts):
|
||||||
if not opts.system_mathjax and self.already_present():
|
if not opts.system_mathjax and self.already_present():
|
||||||
self.info('MathJax already present in the resources directory, not downloading')
|
self.info('MathJax already present in the resources directory, not downloading')
|
||||||
|
return
|
||||||
self.use_symlinks = opts.system_mathjax
|
self.use_symlinks = opts.system_mathjax
|
||||||
self.h = sha1()
|
self.h = sha1()
|
||||||
self.mathjax_files = {}
|
self.mathjax_files = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user