From 7a501789b6cdc2e54fecc0b76c7439b53075b633 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Wed, 29 Dec 2021 14:50:58 +0100 Subject: [PATCH] Minor reformatting --- generate_errors.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generate_errors.py b/generate_errors.py index 7272f0c..de68e88 100644 --- a/generate_errors.py +++ b/generate_errors.py @@ -34,7 +34,8 @@ for item in codes: code, title, desc = item.groups() if int(code) < 300 or int(code) >= 600: continue with error.joinpath(f'{code}.html').open('w') as html: - html.write(root_html.format(code=code, title=title, desc=desc, style=root_css)) + html.write(root_html.format( + code=code, title=title, desc=desc, style=root_css)) nginx_head += f'error_page {code} @error{code};\n' nginx_body += f'location @error{code} {{\n'\ f'root {error.resolve()};\n'\