diff --git a/main.py b/main.py index 4d002f8..6dd6c64 100644 --- a/main.py +++ b/main.py @@ -113,12 +113,11 @@ def generate_html(video_url, video_width, video_height, video_screenshot, video_ """ - html_url = f"{domain}{video_filename}" video_filename += ".html" with open(f"Uploads/{video_filename}", "w") as file: file.write(video_html) - return html_url + return f"{domain}{video_filename}" def find_video_resolution(path_to_video):