.BANCHO. Bancho now uses mysqldb instead of pymysql

This commit is contained in:
Nyo
2016-05-31 22:49:30 +02:00
parent 26f64e8610
commit aebf910890
11 changed files with 474 additions and 319 deletions

View File

@@ -481,7 +481,7 @@ def tillerinoLast(fro, chan, message):
FROM scores
LEFT JOIN beatmaps ON beatmaps.beatmap_md5=scores.beatmap_md5
LEFT JOIN users ON users.id = scores.userid
WHERE users.username = ?
WHERE users.username = %s
ORDER BY scores.time DESC
LIMIT 1""", [fro])
if data == None: