fix roundscore indentation

This commit is contained in:
Gordon Shumway 2020-02-03 20:54:02 -05:00 committed by GitHub
parent be44eb569e
commit 7533ac3a03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 11 deletions

View File

@ -331,17 +331,17 @@ class Jeopardy(callbacks.Plugin):
max = 3
if len(sorted) < max:
max = len(sorted)
s = _('Top finishers:')
if max > 0:
for i in range(0, max):
item = sorted[i]
s = _('%s (%s: %s)') % (s, str(item[0].split(':')[1]), item[1])
self.reply(channel, s)
stopped[channel] = True
try:
del self.games[channel]
except KeyError:
return
s = _('Top finishers:')
if max > 0:
for i in range(0, max):
item = sorted[i]
s = _('%s (%s: %s)') % (s, str(item[0].split(':')[1]), item[1])
self.reply(channel, s)
stopped[channel] = True
try:
del self.games[channel]
except KeyError:
return
def timedEvent(self, channel):