From ec5b288e68f561bc7eb78c968fd19ceb7b87a098 Mon Sep 17 00:00:00 2001 From: thematdev Date: Mon, 4 Apr 2022 23:16:37 +0300 Subject: [PATCH] Yet again retarded error --- app/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/__init__.py b/app/__init__.py index f3f8acb..8ceb349 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -48,7 +48,7 @@ def get_pandoc_page(page): with open(whitelist, 'r') as f: lines = f.read().splitlines() if page not in lines: - print('Access to page not in list {page}') + print(f'Access to page not in list {page}') return 'This page does not exist' if not os.path.exists(f'{path}'): # TODO: Add 404 handler