Skip to content

Commit

Permalink
Merge branch 'main' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
danydudiot committed Oct 24, 2024
2 parents ebdd32b + 765e942 commit e6f4243
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MyTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ async def update_calendar(self) -> None:
pass

arguement = await self.tool.get_arguement()
if datetime.now() >= datetime(2024,10,24,11,00,00):
"""if datetime.now() >= datetime(2024,10,24,11,00,00):
calendar = Calendar(False, arguement)
set_calendar(calendar)
try:
await self.bot.get_channel(os.getenv("ERROR_CHANNEL_ID")).send("Désactivation de la mise à jour des ics.")
except:
pass
return
return"""

old_calendar = Calendar(False, arguement)
new_calendar = Calendar(True, arguement)
Expand Down

0 comments on commit e6f4243

Please sign in to comment.