From a8ebe7eb97dc2b643a0174b6b55142d2bc768ad6 Mon Sep 17 00:00:00 2001 From: bobloy Date: Fri, 19 Jun 2020 07:37:08 -0400 Subject: [PATCH] double e extension --- qrinvite/qrinvite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrinvite/qrinvite.py b/qrinvite/qrinvite.py index 0960c14..cef82e1 100644 --- a/qrinvite/qrinvite.py +++ b/qrinvite/qrinvite.py @@ -60,7 +60,7 @@ class QRInvite(Cog): ) return - eextention = pathlib.Path(image_url).parts[-1].replace(".", "?").split("?")[1] + extension = pathlib.Path(image_url).parts[-1].replace(".", "?").split("?")[1] path: pathlib.Path = cog_data_path(self) image_path = path / (ctx.guild.icon + "." + extension)