1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00

Update... something?

This commit is contained in:
Steffo 2018-12-27 23:43:07 +01:00
parent c4db65f958
commit d5f3b6000d
3 changed files with 8 additions and 8 deletions

View file

@ -333,7 +333,7 @@ class VideoQueue:
def not_ready_videos(self, limit: typing.Optional[int] = None): def not_ready_videos(self, limit: typing.Optional[int] = None):
"""Return the non-ready videos in the first limit positions of the queue.""" """Return the non-ready videos in the first limit positions of the queue."""
video_list = [] 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: if not video.is_ready:
video_list.append(video) video_list.append(video)
return video_list return video_list

BIN
static/radiancedota.ttf Normal file

Binary file not shown.

View file

@ -1,10 +1,10 @@
<style> <style>
@font-face { @font-face {
font-family: "Radiance"; font-family: "Radiance";
src: url("https://cdn.dota2.com/apps/dota2/fonts/radiance.eot?#iefix") format("embedded-opentype"), url("https://cdn.dota2.com/apps/dota2/fonts/radiance.woff") format("woff"), url("https://cdn.dota2.com/apps/dota2/fonts/radiance.ttf") format("truetype"), url("https://cdn.dota2.com/apps/dota2/fonts/radiance.svg#ywftsvg") format("svg"); src: url("{{ url_for('static', filename='radiancedota.ttf') }}");
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
} }
</style> </style>
<div class="game-panel"> <div class="game-panel">
<div class="game-grid dota"> <div class="game-grid dota">
@ -15,7 +15,7 @@
</a> </a>
</div> </div>
<div class="game-title wins"> <div class="game-title wins">
Vittorie VITTORIE
</div> </div>
<div class="game-score wins"> <div class="game-score wins">
<span>{{ record.wins }}</span> <span>{{ record.wins }}</span>