Properly use regex
This commit is contained in:
parent
1fd1284d60
commit
aaab30fb8f
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class ImageCog(commands.Cog):
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
tgt_size = unconvert_bytesize(*tgt.groups())
|
tgt_size = unconvert_bytesize(float(tgt.groups()[0]), tgt.groups()[1])
|
||||||
file = None
|
file = None
|
||||||
if (
|
if (
|
||||||
ctx.message.attachments is not None
|
ctx.message.attachments is not None
|
||||||
|
|
Loading…
Add table
Reference in a new issue