Setup for 2025
This commit is contained in:
2
lib.py
2
lib.py
@@ -276,7 +276,7 @@ def extract_year_and_date(scriptname) -> tuple[str, str]:
|
||||
def get_data(filename):
|
||||
path, file = os.path.split(filename)
|
||||
year = path[-4:]
|
||||
day = file.replace("d", "").replace(".py", "")
|
||||
day = file.replace("d0", "").replace("d", "").replace(".py", "")
|
||||
txt_file = f"d{day}.txt"
|
||||
|
||||
if os.path.isfile(txt_file):
|
||||
|
||||
Reference in New Issue
Block a user