Fix screenshot size

This commit is contained in:
Nexus 2023-11-29 15:56:39 +00:00
parent f54b085dde
commit 0f2d74670e
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -834,7 +834,7 @@ class OtherCog(commands.Cog):
"Details:\n" "Details:\n"
f"* Browser: {driver}\n" f"* Browser: {driver}\n"
f"* Resolution: {window_height}x{window_width} ({window_width*window_height:,} pixels, " f"* Resolution: {window_height}x{window_width} ({window_width*window_height:,} pixels, "
f"{file_size * 1024 * 1024:,.1f}MB)\n" f"{file_size / 1024 / 1024:,.1f}MB)\n"
f"* URL: <{friendly_url}>\n" f"* URL: <{friendly_url}>\n"
f"* Load time: {fetch_time:.2f}ms\n" f"* Load time: {fetch_time:.2f}ms\n"
f"* Screenshot render time: {screenshot_time:.2f}ms\n" f"* Screenshot render time: {screenshot_time:.2f}ms\n"