summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2015-01-08 00:40:18 +0100
committerjomo <github@jomo.tv>2015-01-08 00:40:18 +0100
commitf465a4caff365fe5ef212cff0f05ca30a17098bf (patch)
treea4df7cf4e12cb33ad965dffd58e0250cae4a2ae1 /check.py
parent4f3cd5ba630e1918113959fb349e78d1753ca1df (diff)
nope #8
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 0e5046e..0800584 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` = '%s' LIMIT 1", [uuid])
+ curs.execute("SELECT DISTINCT `id`, `email` FROM users WHERE `uuid` = '?' LIMIT 1", [uuid])
results = curs.fetchall()
curs.close()
conn.close()