.BANCHO. Bancho now uses mysqldb instead of pymysql
This commit is contained in:
@@ -39,4 +39,4 @@ class banchoConfig:
|
||||
"""
|
||||
|
||||
self.config["banchoMaintenance"] = __maintenance
|
||||
glob.db.execute("UPDATE bancho_settings SET value_int = ? WHERE name = 'bancho_maintenance'", [int(__maintenance)])
|
||||
glob.db.execute("UPDATE bancho_settings SET value_int = %s WHERE name = 'bancho_maintenance'", [int(__maintenance)])
|
||||
|
@@ -14,3 +14,5 @@ channels = channelList.channelList()
|
||||
matches = matchList.matchList()
|
||||
memes = True
|
||||
restarting = False
|
||||
pool = None
|
||||
requestTime = False
|
||||
|
Reference in New Issue
Block a user