From 0dc396c39cde4bb7847fcefea98ae4ba59041faf Mon Sep 17 00:00:00 2001 From: cato447 Date: Mon, 23 Jun 2025 21:09:43 +0200 Subject: [PATCH] hotfixed the hotfix --- app/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes.py b/app/routes.py index b978d22..e8f1ae1 100644 --- a/app/routes.py +++ b/app/routes.py @@ -204,7 +204,7 @@ def serve_deck(deck, path='index.html'): if slidev_all_pattern.match(request.path): return send_from_directory(deck_path, 'index.html') - if deck.name == "tut-08" and path == 'index.html': + if deck == "tut-08" and path == 'index.html': return send_from_directory(deck_path, 'slides08.pdf') requested_file = os.path.join(deck_path, path)