From 0cf7deed245ea468810d1cfc700b36baf260c28b Mon Sep 17 00:00:00 2001 From: jesopo Date: Sat, 6 Oct 2018 16:44:39 +0100 Subject: [PATCH] Slightly change format of commit messages in modules/github.py --- modules/github.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/github.py b/modules/github.py index ab5744b2..b21b0f36 100644 --- a/modules/github.py +++ b/modules/github.py @@ -29,9 +29,9 @@ class Module(ModuleManager.BaseModule): added_count = len(commit["added"]) removed_count = len(commit["removed"]) - line = ("(%s) [files: %d/%d/%d mod/add/del] commit by %s: " - "'%s'") % (full_name, modified_count, added_count, - removed_count, author, message) + line = ("(%s) [files: %d/%d/%d mod/add/del] commit by '%s': %s" + % (full_name, modified_count, added_count, + removed_count, author, message)) hooks = self.bot.database.channel_settings.find_by_setting( "github-hook") hooks = [hook for hook in hooks if hook[2]]