1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Fixed syntax error

This commit is contained in:
Phxntxm 2016-07-15 10:11:35 -05:00
parent 5a1641a9ce
commit 824715fbd1

View file

@ -102,7 +102,7 @@ class Mod:
.format(permissions, "\n".join(valid_perms)))
else:
cursor = config.getCursor()
cursor.execute('use %s', (config.db_default,))
cursor.execute('use {}'.format(config.db_default))
cursor.execute("show tables like %s", (ctx.message.server.id,))
result = cursor.fetchone()
if result is None: