Remove debug code

This commit is contained in:
Ozzie Isaacs
2025-12-20 13:22:20 +01:00
parent 83b5d0f22b
commit 38b0af9ea2
2 changed files with 367 additions and 232 deletions

View File

@@ -438,7 +438,6 @@ def feed_shelf(book_id):
@opds.route("/opds/download/<book_id>/<book_format>/")
@requires_basic_auth_if_no_ano
def opds_download_link(book_id, book_format):
return abort(401)
if not auth.current_user().role_download():
return abort(401)
client = "kobo" if "Kobo" in request.headers.get('User-Agent') else ""