From 65fa759d3b097be2e66cc09291e112cc201dd36b Mon Sep 17 00:00:00 2001 From: "Phyks (Lucas Verney)" Date: Fri, 24 Jun 2016 09:51:45 +0200 Subject: [PATCH] Fix typos in output --- ampache2irc.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ampache2irc.py b/ampache2irc.py index 4e41680..b1392d2 100755 --- a/ampache2irc.py +++ b/ampache2irc.py @@ -44,10 +44,12 @@ class Ampache2IRC(irc.bot.SingleServerIRCBot): haikunator = Haikunator(entry.comments .replace(config.ampache_URL, "") .strip("/")) + name = haikunator.haikunate(token_length=0).replace("-", " ") + name = name.title() serv.privmsg(config.channel, - "%c%02d %s (%s)" % + "%c%02d%s (%s)" % (3, 14, entry.title, - haikunator.haikunate(token_length=0))) + name)) self.last_seen = entry.published_parsed def on_welcome(self, serv, ev):