diff options
author | jomo <github@jomo.tv> | 2015-01-08 00:40:18 +0100 |
---|---|---|
committer | jomo <github@jomo.tv> | 2015-01-08 00:40:18 +0100 |
commit | f465a4caff365fe5ef212cff0f05ca30a17098bf (patch) | |
tree | a4df7cf4e12cb33ad965dffd58e0250cae4a2ae1 /check.py | |
parent | 4f3cd5ba630e1918113959fb349e78d1753ca1df (diff) |
nope #8
Diffstat (limited to 'check.py')
-rw-r--r-- | check.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |