ERepublik: Fix bug in @battle active.

master
Valentin Lorentz 2013-05-23 14:38:45 +02:00
parent 74b6446914
commit 2812c01f3f
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ class ERepublik(callbacks.Plugin):
key = conf.supybot.plugins.ERepublik.apikey()
base = 'http://api.erpk.org/battle/active.json?key=%s'
data = json.load(utils.web.getUrlFd(base % key))
irc.reply(format('%L', data))
irc.reply(format('%L', map(str, data)))
active = wrap(active)
def calc(self, irc, msg, args, name):