Web: Fix use of %S converter.

This commit is contained in:
Valentin Lorentz 2011-07-01 17:07:54 +02:00
parent 3265d84a23
commit 6ed15bafe4

View File

@ -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)