ruff check --fix

This commit is contained in:
2025-07-23 03:54:36 +03:00
parent 5c6c697987
commit 20bdd4fafa
7 changed files with 10 additions and 7 deletions
+2
View File
@@ -2,3 +2,5 @@ from web.custom_widgets.header import draw_header
from web.custom_widgets.content_dialog import ContentDialog
from web.custom_widgets.content_card import ContentCard
from web.custom_widgets.PlyrVideoPlayer import PlyrVideoPlayer
__all__ = ["draw_header", "ContentDialog", "ContentCard", "PlyrVideoPlayer",]
+2 -2
View File
@@ -49,9 +49,9 @@ class ContentDialog(ui.dialog):
itertools.chain.from_iterable([s.episodes for s in self.content.seasons])])
ui.html(f"<b>Total Runtime: </b>{convert_runtime(total_runtime)}").style("font-size: 12px")
if self.content.in_production:
ui.html(f"<b><i>Currently in production</i></b>").style("font-size: 12px")
ui.html("<b><i>Currently in production</i></b>").style("font-size: 12px")
else:
ui.html(f"<b><i>Finished</i></b>").style("font-size: 12px")
ui.html("<b><i>Finished</i></b>").style("font-size: 12px")
with self.card, ui.row(wrap=False).classes("w-full").style("display: flex; justify-content: center;"):
ui.button("Create Room").on_click(self.create_room).props("rounded push")