Supprime code inutil
This commit is contained in:
		| @@ -1,6 +0,0 @@ | ||||
| from pathlib import Path | ||||
|  | ||||
|  | ||||
| def clean_output(path: Path): | ||||
|     # TODO | ||||
|     pass | ||||
							
								
								
									
										7
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Florestan Bredow
					Florestan Bredow