From 3c3d8a3247b2569eae67e5ad5885712c0bc1ce5f Mon Sep 17 00:00:00 2001 From: Spagnolo Gasper Date: Sat, 24 Dec 2022 23:04:38 +0100 Subject: [PATCH] Lets update --- scripts/move.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/move.py b/scripts/move.py index 24e89ee..b545104 100644 --- a/scripts/move.py +++ b/scripts/move.py @@ -17,14 +17,6 @@ def main(): with open(MD_NOTES_DIR + filename, "r") as f: # Read the file file = f.read() - # Find --- in the file and remove it and content inside --- - splited_file = file.split("---") - if(len(splited_file) > 2): - splited_file = splited_file[2:] - # Join the list back to a string - file = "".join(splited_file) - - header["title"] = filename[:-3] header["description"] = f"click to read about {filename[:-3]}" date_modified = os.path.getmtime(MD_NOTES_DIR + filename)