From aaab30fb8fc451bc622b226dbf55eb1fcc03c09c Mon Sep 17 00:00:00 2001 From: Zevaryx Date: Sat, 26 Jun 2021 20:29:18 -0600 Subject: [PATCH] Properly use regex --- jarvis/cogs/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jarvis/cogs/image.py b/jarvis/cogs/image.py index b8bac1e..6247323 100644 --- a/jarvis/cogs/image.py +++ b/jarvis/cogs/image.py @@ -37,7 +37,7 @@ class ImageCog(commands.Cog): ) return - tgt_size = unconvert_bytesize(*tgt.groups()) + tgt_size = unconvert_bytesize(float(tgt.groups()[0]), tgt.groups()[1]) file = None if ( ctx.message.attachments is not None