1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-27 13:28:04 +00:00

Fix for #2299 (scholarly requires Internet connection at startup)

This commit is contained in:
Ozzie Isaacs
2022-01-31 18:09:23 +01:00
parent 42f8209a4a
commit 23e47ba4e6
3 changed files with 13 additions and 9 deletions

View File

@@ -33,13 +33,6 @@ try:
except ImportError:
pass
# Improve this to check if scholarly is available in a global way, like other pythonic libraries
try:
from scholarly import scholarly
have_scholar = True
except ImportError:
have_scholar = False
from flask import Blueprint, request, flash, redirect, url_for, abort, Markup, Response
from flask_babel import gettext as _
from flask_login import current_user, login_required