mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Fixed a couple typos in dbinfo
This commit is contained in:
parent
32b0b65475
commit
7719b8dad3
@ -415,7 +415,7 @@ class FunDB(callbacks.Privmsg):
|
|||||||
try:
|
try:
|
||||||
id = int(id)
|
id = int(id)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
irc.error(msg, '<id> must be an integer.')
|
irc.error(msg, 'The <id> argument must be an integer.')
|
||||||
return
|
return
|
||||||
if table not in self._tables:
|
if table not in self._tables:
|
||||||
irc.error(msg, '"%s" is not valid. Valid values include %s' % \
|
irc.error(msg, '"%s" is not valid. Valid values include %s' % \
|
||||||
@ -429,7 +429,7 @@ class FunDB(callbacks.Privmsg):
|
|||||||
irc.error(msg, 'There is no such %s.' % table)
|
irc.error(msg, 'There is no such %s.' % table)
|
||||||
else:
|
else:
|
||||||
(add,req,count) = cursor.fetchone()
|
(add,req,count) = cursor.fetchone()
|
||||||
reply = '%s #%s: Created by %s. last requested by %s, requested '\
|
reply = '%s #%s: Created by %s. last requested by %s, requested'\
|
||||||
' a total of %s' % \
|
' a total of %s' % \
|
||||||
(table, id, add, req, utils.nItems(count, 'time'))
|
(table, id, add, req, utils.nItems(count, 'time'))
|
||||||
irc.reply(msg, reply)
|
irc.reply(msg, reply)
|
||||||
|
Loading…
Reference in New Issue
Block a user