Indicate if the viewer code is being compiled or not

This commit is contained in:
Kovid Goyal 2019-09-14 08:58:36 +05:30
parent 3d2c8d3878
commit f3f244c41b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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'