diff --git a/convert.py b/convert.py index b905806..0357e5e 100644 --- a/convert.py +++ b/convert.py @@ -53,7 +53,7 @@ def get_calendar(self, timetable, start_date, end_date): event.add('rrule', {'freq': 'WEEKLY', 'until': parser.parse(end_date)}) cal.add_component(event) - f = open(os.path.join('', 'example.ics'), 'wb') + f = open(os.path.join('', 'calendar.ics'), 'wb') f.write(cal.to_ical()) f.close() @@ -69,4 +69,4 @@ def get_nearest_date(self, start_date, weekday): else: start_date += datetime.timedelta(weekday - start_date.weekday()) - return start_date \ No newline at end of file + return start_date