spaces to tabs

This commit is contained in:
James Tomasino 2019-02-08 20:09:05 -05:00
parent 9f078d1442
commit d219ab2101
1 changed files with 1 additions and 1 deletions

2
bot.py
View File

@ -78,7 +78,7 @@ class CosmicBot(teambot.Handler):
if count > 5:
count = 5 # don't spam the channel
self.say(channel, "{}: Latest {} {}. (See cosmic.voyage for more!)".format(nick, count, (count == 1 and "entry" or "entries")))
else:
else:
self.say(channel, "{}: Latest entries matching '{}'. (See cosmic.voyage for more!)".format(nick, count))
output = subprocess.check_output(["/usr/local/bin/latest",str(count)]).decode("ascii").split("\n")
output = filter(None,output)