Fix #914525 (Missing utils/coffeescript file)

This commit is contained in:
Kovid Goyal 2012-01-11 07:49:32 +05:30
parent 48197bd972
commit b8a39a63d3
2 changed files with 5 additions and 4 deletions

View File

@ -35,7 +35,7 @@ class Coffee(Command): # {{{
help='Display the generated javascript') help='Display the generated javascript')
def run(self, opts): def run(self, opts):
from calibre.utils.coffeescript import compile_coffeescript from calibre.utils.serve_coffee import compile_coffeescript
self.compiler = compile_coffeescript self.compiler = compile_coffeescript
self.do_coffee_compile(opts) self.do_coffee_compile(opts)
if opts.watch: if opts.watch:

View File

@ -66,6 +66,7 @@ class Worker(object):
if isfrozen: if isfrozen:
return os.path.join(sys.executables_location, e) return os.path.join(sys.executables_location, e)
if hasattr(sys, 'executables_location'):
c = os.path.join(sys.executables_location, e) c = os.path.join(sys.executables_location, e)
if os.access(c, os.X_OK): if os.access(c, os.X_OK):
return c return c