diff --git a/discordbot.py b/discordbot.py index 4e3c7ae8..40088a25 100644 --- a/discordbot.py +++ b/discordbot.py @@ -333,7 +333,7 @@ class VideoQueue: def not_ready_videos(self, limit: typing.Optional[int] = None): """Return the non-ready videos in the first limit positions of the queue.""" video_list = [] - for video in (self.list[:limit] + [self.now_playing]): + for video in (self.list[:limit] + ([self.now_playing] if self.now_playing else [])): if not video.is_ready: video_list.append(video) return video_list diff --git a/static/radiancedota.ttf b/static/radiancedota.ttf new file mode 100644 index 00000000..6251d2e5 Binary files /dev/null and b/static/radiancedota.ttf differ diff --git a/templates/minis/dota.html b/templates/minis/dota.html index 5321ef13..7ec1c2c5 100644 --- a/templates/minis/dota.html +++ b/templates/minis/dota.html @@ -1,10 +1,10 @@