mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #914525 (Missing utils/coffeescript file)
This commit is contained in:
parent
48197bd972
commit
b8a39a63d3
@ -35,7 +35,7 @@ class Coffee(Command): # {{{
|
||||
help='Display the generated javascript')
|
||||
|
||||
def run(self, opts):
|
||||
from calibre.utils.coffeescript import compile_coffeescript
|
||||
from calibre.utils.serve_coffee import compile_coffeescript
|
||||
self.compiler = compile_coffeescript
|
||||
self.do_coffee_compile(opts)
|
||||
if opts.watch:
|
||||
|
@ -66,6 +66,7 @@ class Worker(object):
|
||||
if isfrozen:
|
||||
return os.path.join(sys.executables_location, e)
|
||||
|
||||
if hasattr(sys, 'executables_location'):
|
||||
c = os.path.join(sys.executables_location, e)
|
||||
if os.access(c, os.X_OK):
|
||||
return c
|
||||
|
Loading…
x
Reference in New Issue
Block a user