Replace tuple with dataclass

This commit is contained in:
2022-08-08 11:14:55 +02:00
parent 44bdd8ebd9
commit 0212937aa1
3 changed files with 28 additions and 22 deletions

View File

@ -14,13 +14,7 @@ from urllib.parse import urljoin
from discord_embed import settings
def generate_html_for_videos(
url: str,
width: int,
height: int,
screenshot: str,
filename: str,
) -> str:
def generate_html_for_videos(url: str, width: int, height: int, screenshot: str, filename: str) -> str:
"""Generate HTML for video files.
Args: