소스 검색

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