Set default values to interface that should be interpreted as "current"

This commit is contained in:
Maximilian Giller 2019-02-26 21:37:18 +01:00
parent 7f9a6a3102
commit a5d849c1dd

View file

@ -11,8 +11,8 @@ class CalendarInterface (DataSourceInterface):
def get_day_events(self, date):
raise NotImplementedError("Functions needs to be implemented")
def get_month_events(self, month):
def get_month_events(self, month = -1):
raise NotImplementedError("Functions needs to be implemented")
def get_week_events(self, week):
def get_week_events(self, week = -1):
raise NotImplementedError("Functions needs to be implemented")