summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2015-01-08 00:44:56 +0100
committerjomo <github@jomo.tv>2015-01-08 00:44:56 +0100
commit8eb0948a6191a4908cca259e7d14e8f6fb31923e (patch)
treef56f70fc5b0a63be5eca2b4e87eda0eeb2a4024b /check.py
parentf465a4caff365fe5ef212cff0f05ca30a17098bf (diff)
don't need quotes
Diffstat (limited to 'check.py')
-rw-r--r--check.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/check.py b/check.py
index 0800584..7d0bb05 100644
--- a/check.py
+++ b/check.py
@@ -35,7 +35,7 @@ def get_website_data(player):
conn = zxJDBC.connect(mysql_database, mysql_user, mysql_pass, "com.mysql.jdbc.Driver")
curs = conn.cursor()
uuid = str(uid(player)).replace("-", "")
- curs.execute("SELECT DISTINCT `id`, `email` FROM users WHERE `uuid` = '?' LIMIT 1", [uuid])
+ curs.execute("SELECT DISTINCT `id`, `email` FROM users WHERE `uuid` = ? LIMIT 1", [uuid])
results = curs.fetchall()
curs.close()
conn.close()