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 = ''