Skip to content

Commit 4fabd63

Browse files
committed
Revert "Add "Remote Sponsor" ticket type"
This reverts commit 8b82b2a.
1 parent 56db9ab commit 4fabd63

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/europython_discord/program_notifications/cog.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ def __init__(self, bot: Client, config: ProgramNotificationsConfig) -> None:
3232

3333
@commands.Cog.listener()
3434
async def on_ready(self) -> None:
35-
await self.livestream_connector.fetch_livestreams()
3635
if self.config.simulated_start_time:
3736
_logger.info("Running in simulated time mode.")
3837
_logger.info("Will purge all room channels to avoid pile-up of test notifications.")

src/europython_discord/program_notifications/livestream_connector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ async def fetch_livestreams(self) -> None:
4949
async with self._fetch_lock:
5050
livestreams_raw = await self._open_livestreams_file()
5151
self.livestreams_by_room = await self._parse_livestreams(livestreams_raw)
52-
logger.info("Fetched %s", self.livestreams_by_room)
5352

5453
async def get_livestream_url(self, room: str, day: date) -> str | None:
5554
"""
@@ -63,6 +62,7 @@ async def get_livestream_url(self, room: str, day: date) -> str | None:
6362
if not self.livestreams_by_room:
6463
await self.fetch_livestreams()
6564

65+
logger.info(str(self.livestreams_by_room))
6666
if room not in self.livestreams_by_room:
6767
logger.warning(f"Found no livestream URLs for room {room!r}")
6868
return None

0 commit comments

Comments
 (0)