From 95cadb57e81564f4d8257a177a8b24ef406fa700 Mon Sep 17 00:00:00 2001 From: notplants Date: Wed, 21 Feb 2024 12:49:11 -0600 Subject: [PATCH] cleanup --- main.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/main.py b/main.py index 0c818e8..1722a96 100644 --- a/main.py +++ b/main.py @@ -5,21 +5,8 @@ import jinja2 import yaml -# LIST_URL = "https://bookwyrm.social/list/2458/s/notplants-2023" -# LIST_URL = "https://bookwyrm.social/list/2404/s/2024" - PROJECT_PATH = os.path.abspath(os.path.dirname(__file__)) -# output dirs -OUTPUT_DIR = os.path.join(PROJECT_PATH, 'dist') -if not os.path.exists(OUTPUT_DIR): - os.makedirs(OUTPUT_DIR) - -# input static folder -STATIC_DIR = os.path.join(PROJECT_PATH, 'static') -if not os.path.exists(STATIC_DIR): - os.makedirs(STATIC_DIR) - def build_site(output_dir, images_dir, relative_template_path, template_vars):