From 2f4a7370a65217e67267976369c6f43a6a93ed1d Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Sun, 10 Jul 2016 10:41:48 -0500 Subject: [PATCH] Saved the mysql changes --- cogs/twitch.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cogs/twitch.py b/cogs/twitch.py index 3b0081d..2c1fb22 100644 --- a/cogs/twitch.py +++ b/cogs/twitch.py @@ -55,6 +55,7 @@ class Twitch: if result is not None: cursor.execute('delete from twitch where user_id="{}"'.format(ctx.message.author.id)) await self.bot.say("I am no longer saving your twitch URL {}".format(ctx.message.author.mention)) + config.closeConnection() else: await self.bot.say("I do not have your twitch URL added {}".format(ctx.message.author.mention)) config.closeConnection()