diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c5bff43 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +calenders/* \ No newline at end of file diff --git a/main.py b/main.py index 3964c6e..85941fe 100644 --- a/main.py +++ b/main.py @@ -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]):