mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-20 01:19:26 +01:00
Web: Fix use of %S converter.
This commit is contained in:
parent
3265d84a23
commit
6ed15bafe4
@ -154,7 +154,7 @@ class Web(callbacks.PluginRegexp):
|
||||
try:
|
||||
try:
|
||||
size = fd.headers['Content-Length']
|
||||
irc.reply(format(_('%u is %S long.'), url, size))
|
||||
irc.reply(format(_('%u is %S long.'), url, int(size)))
|
||||
except KeyError:
|
||||
size = conf.supybot.protocols.http.peekSize()
|
||||
s = fd.read(size)
|
||||
|
Loading…
Reference in New Issue
Block a user