diff --git a/app/__init__.py b/app/__init__.py index 8ceb349..78df573 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -56,7 +56,7 @@ def get_pandoc_page(page): with open(f'{path}/config.json') as f: data = json.loads(f.read()) if not os.path.exists(f'{path}/render.html') or not os.path.exists(f'{path}/render.html.lock'): - print('Rendered page or lockfile for {page} does not exist! Rendering {page}') + print(f'Rendered page or lockfile for {page} does not exist! Rendering {page}') render_page(page) else: with open(f'{path}/render.html.lock', 'r') as f: @@ -64,7 +64,7 @@ def get_pandoc_page(page): current_hash = hash_file_sha512(f'{path}/main.md') if rendered_hash != current_hash: print(f'CURRENT: {current_hash}, RENDERED: {rendered_hash}') - print('Integrity test failed, rendering {page}!') + print(f'Integrity test failed, rendering {page}!') render_page(page) template = data['template'] with open(f'{path}/render.html', 'r') as f: