From 3c9c948fe2a8b5a0617ab65884fb85784ce58aff Mon Sep 17 00:00:00 2001 From: Florestan Bredow Date: Tue, 3 Jun 2025 18:02:42 +0200 Subject: [PATCH] Supprime code inutil --- blog/utils.py | 6 ------ main.py | 7 +------ 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 blog/utils.py diff --git a/blog/utils.py b/blog/utils.py deleted file mode 100644 index 0eadbe0..0000000 --- a/blog/utils.py +++ /dev/null @@ -1,6 +0,0 @@ -from pathlib import Path - - -def clean_output(path: Path): - # TODO - pass diff --git a/main.py b/main.py index b960f8f..17f8999 100755 --- a/main.py +++ b/main.py @@ -5,12 +5,11 @@ import argparse from pathlib import Path from blog.page import new_page from blog.config import Config -from blog.utils import clean_output from blog.blog import Blog # from blog.blog import Blog -actions_list = ["new", "make", "clean"] +actions_list = ["new", "make"] blog_dir = "./inbox/" @@ -78,10 +77,6 @@ def main(): os._exit(0) - case "clean": - clean_output(conf.inbox) - os._exit(0) - case _: print("error") os._exit(1)