forked from rc/aircox
fix
This commit is contained in:
parent
5a074f6b94
commit
5ed1a3e241
|
@ -29,8 +29,8 @@ class TimeTableView(GetDateMixin, BaseDiffusionListView):
|
||||||
attach_to_value = StaticPage.Target.TIMETABLE
|
attach_to_value = StaticPage.Target.TIMETABLE
|
||||||
template_name = "aircox/timetable_list.html"
|
template_name = "aircox/timetable_list.html"
|
||||||
|
|
||||||
def get_date(self):
|
def get_date(self, param="date"):
|
||||||
date = super().get_date()
|
date = super().get_date(param)
|
||||||
return date if date is not None else datetime.date.today()
|
return date if date is not None else datetime.date.today()
|
||||||
|
|
||||||
def get_logs(self, date):
|
def get_logs(self, date):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user