Commit 2b441f0d authored by Administrator's avatar Administrator
Browse files

Fixed calendar event selection

parent d897abb2
......@@ -57,7 +57,7 @@ class Client:
return
candidates = [
Event.from_raw_event(raw_event)
for raw_event in self.calendar.date_search(begin)
for raw_event in self.calendar.date_search(begin, begin + timedelta(hours=1))
]
candidates = [event for event in candidates if event.name == name]
event = None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment