Fix indentation

This commit is contained in:
Lucas Verney 2016-06-23 14:36:59 +02:00
parent 57446e0900
commit acde73deba

View File

@ -42,12 +42,12 @@ class Ampache2IRC(irc.bot.SingleServerIRCBot):
if(self.last_seen is None or if(self.last_seen is None or
entry.published_parsed > self.last_seen): entry.published_parsed > self.last_seen):
haikunator = Haikunator(entry.comments haikunator = Haikunator(entry.comments
.replace(config.ampache_URL, "") .replace(config.ampache_URL, "")
.strip("/")) .strip("/"))
serv.privmsg(config.channel, serv.privmsg(config.channel,
"%c%02d %s (%s)" % "%c%02d %s (%s)" %
(3, 14, entry.title, (3, 14, entry.title,
haikunator.haikunate(token_length=0))) haikunator.haikunate(token_length=0)))
self.last_seen = entry.published_parsed self.last_seen = entry.published_parsed
def on_welcome(self, serv, ev): def on_welcome(self, serv, ev):