added .gitignroe and calender fodler

This commit is contained in:
Tjark Froelje
2025-06-25 14:01:34 +02:00
parent 4622edb2b0
commit fd95c90e17
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
calenders/*

View File

@@ -84,7 +84,7 @@ def display_abfalltermine(collection_days):
print("No waste collection dates found.")
# Function to save waste collection dates to an ICS calendar file
def save_abfalltermine_to_ics(collection_days, filename="waste_collection.ics"):
def save_abfalltermine_to_ics(collection_days, filename="calenders/waste_collection.ics"):
header = "BEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//Waste Collection//EN\n"
events = []
for abfall_type, date in sorted(collection_days, key=lambda x: x[1]):