mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-28 08:23:08 +02:00
Indicate if the viewer code is being compiled or not
This commit is contained in:
parent
3d2c8d3878
commit
f3f244c41b
1 changed files with 1 additions and 0 deletions
|
|
@ -174,6 +174,7 @@ def create_profile():
|
|||
ans.setHttpUserAgent(ua)
|
||||
if is_running_from_develop:
|
||||
from calibre.utils.rapydscript import compile_viewer
|
||||
print('Compiling viewer code...')
|
||||
compile_viewer()
|
||||
js = P('viewer.js', data=True, allow_user_override=False)
|
||||
translations_json = get_translations_data() or b'null'
|
||||
|
|
|
|||
Loading…
Reference in a new issue