浏览代码

Minor fix

oobabooga 2 年之前
父节点
当前提交
bf812c4893
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      modules/html_generator.py

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