oobabooga 2 rokov pred
rodič
commit
bf812c4893
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  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 = ''