From 0f2d74670e40c4f89faaf2c80daff45089ac0549 Mon Sep 17 00:00:00 2001 From: nex Date: Wed, 29 Nov 2023 15:56:39 +0000 Subject: [PATCH] Fix screenshot size --- cogs/other.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/other.py b/cogs/other.py index 9919ea2..9b6f71e 100644 --- a/cogs/other.py +++ b/cogs/other.py @@ -834,7 +834,7 @@ class OtherCog(commands.Cog): "Details:\n" f"* Browser: {driver}\n" 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"* Load time: {fetch_time:.2f}ms\n" f"* Screenshot render time: {screenshot_time:.2f}ms\n"