'*** Python2 is EOL since end of 2019, this version of Calibre-Web is no longer supporting Python2, please update your installation to Python3 ***')
print(
'*** Python2 is EOL since end of 2019, this version of Calibre-Web is no longer supporting Python2, please update your installation to Python3 ***')
sys.exit(5)
ifnotlxml_present:
log.info('*** "lxml" is needed for calibre-web to run. Please install it using pip: "pip install lxml" ***')
print('*** "lxml" is needed for calibre-web to run. Please install it using pip: "pip install lxml" ***')
sys.exit(6)
app.wsgi_app=ReverseProxied(app.wsgi_app)
# For python2 convert path to unicode
ifsys.version_info<(3,0):
@ -99,12 +114,8 @@ def create_app():
ifos.environ.get('FLASK_DEBUG'):
cache_buster.init_cache_busting(app)
log.info('Starting Calibre Web...')
ifsys.version_info<(3,0):
log.info('*** Python2 is EOL since end of 2019, this version of Calibre-Web is no longer supporting Python2, please update your installation to Python3 ***')
print('*** Python2 is EOL since end of 2019, this version of Calibre-Web is no longer supporting Python2, please update your installation to Python3 ***')
<adata-toggle="tooltip"title="{{_('Sort according to book date, newest first')}}"id="new"class="btn btn-primary"href="{{url_for('web.books_list', data=page, book_id=id, sort_param='new')}}"><spanclass="glyphicon glyphicon-book"></span><spanclass="glyphicon glyphicon-calendar"></span><spanclass="glyphicon glyphicon-sort-by-order"></span></a>
<adata-toggle="tooltip"title="{{_('Sort according to book date, oldest first')}}"id="old"class="btn btn-primary"href="{{url_for('web.books_list', data=page, book_id=id, sort_param='old')}}"><spanclass="glyphicon glyphicon-book"></span><spanclass="glyphicon glyphicon-calendar"></span><spanclass="glyphicon glyphicon-sort-by-order-alt"></span></a>