diff --git a/zulip_bots/zulip_bots/prizebot.py b/zulip_bots/zulip_bots/prizebot.py index 933c480..044e088 100644 --- a/zulip_bots/zulip_bots/prizebot.py +++ b/zulip_bots/zulip_bots/prizebot.py @@ -1,6 +1,7 @@ from collections import namedtuple import json +import logging import time import re @@ -53,7 +54,8 @@ def get_prizes(type): ]) else: state = "unknown" - prizes.append(Prize(id, a["href"], type, title, state, result)) + link = f"https://desertbus.org{a['href']}" + prizes.append(Prize(id, link, type, title, state, result)) return prizes