From 946b61b926dee1721f6166b8675bdf62bde05904 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Wed, 13 Jul 2016 21:50:38 -0500 Subject: [PATCH] Replaced the misplaces $ with a % --- cogs/overwatch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/overwatch.py b/cogs/overwatch.py index 3ff5ce8..234cc33 100644 --- a/cogs/overwatch.py +++ b/cogs/overwatch.py @@ -34,7 +34,7 @@ class Overwatch: cursor.execute('select * from overwatch where id=%s', (ctx.message.author.id,)) result = cursor.fetchone() if result: - cursor.execute('update overwatch set battletag=%s where id=$s', (username, ctx.message.author.id)) + cursor.execute('update overwatch set battletag=%s where id=%s', (username, ctx.message.author.id)) await self.bot.say("I have updated your saved battletag {}".format(ctx.message.author.mention)) else: cursor.execute('insert into overwatch (id, battletag) values (%s, %s)', (ctx.message.author.id, username))