Fix indentation
This commit is contained in:
parent
57446e0900
commit
acde73deba
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user