Revert "change get_event_id, fix duplicates perhaps?"

This reverts commit 815c4ec530.
This commit is contained in:
Tomáš Mládek 2021-05-26 20:35:57 +02:00
parent 4d29570a2d
commit 8e6a35e6ea

2
bot.py
View file

@ -89,7 +89,7 @@ async def send_message(text):
def get_event_id(event: Event) -> str: def get_event_id(event: Event) -> str:
return f"{'_'.join(str(x) for x in event.begin.isocalendar())}//{event.name}" return f"{event.begin}//{event.name}"
async def main(): async def main():