From bf812c48933b89b62cdff3e171f392c18d67b85d Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Wed, 15 Mar 2023 14:05:35 -0300 Subject: [PATCH] Minor fix --- modules/html_generator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/html_generator.py b/modules/html_generator.py index 1c8b3d1..c8579f8 100644 --- a/modules/html_generator.py +++ b/modules/html_generator.py @@ -37,8 +37,8 @@ def process_post(post, c): return src def generate_4chan_html(f): - with open(Path(__file__).resolve().parent / '../css/html_4chan_style.css', 'r') as f: - css = f.read() + with open(Path(__file__).resolve().parent / '../css/html_4chan_style.css', 'r') as css_f: + css = css_f.read() posts = [] post = ''