mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Intify the stupid help.
This commit is contained in:
parent
1b8d655738
commit
1ff44651a9
@ -159,7 +159,7 @@ class Lookup(callbacks.Privmsg):
|
||||
db = getDb()
|
||||
cursor = db.cursor()
|
||||
cursor.execute("""SELECT COUNT(*) FROM %s""" % name)
|
||||
rows = cursor.fetchone()[0]
|
||||
rows = int(cursor.fetchone()[0])
|
||||
docstring = """[<key>]
|
||||
|
||||
If <key> is given, looks up <key> in the %s database. Otherwise,
|
||||
|
Loading…
Reference in New Issue
Block a user