From dbc1b2e6149234b8571425b6684a2858fa52c545 Mon Sep 17 00:00:00 2001 From: kaliko Date: Fri, 1 May 2020 12:41:57 +0200 Subject: [PATCH] Update copyrights --- sid/ping.py | 6 +++--- sid/plugin.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sid/ping.py b/sid/ping.py index 9fbab84..4f3f44f 100644 --- a/sid/ping.py +++ b/sid/ping.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014 kaliko +# Copyright (C) 2014, 2020 kaliko # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -27,8 +27,8 @@ class Ping(Plugin): """ping's answering a pong showing the bot is alive. !ping : You'll get back "pong"! """ - msg = {'mhtml':'!pong'.format(self), - 'mbody':'!pong',} + msg = {'mhtml': '!pong'.format(self), + 'mbody': '!pong'} self.reply(rcv, msg) # VIM MODLINE diff --git a/sid/plugin.py b/sid/plugin.py index 3e7c87e..6ff12ee 100644 --- a/sid/plugin.py +++ b/sid/plugin.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Copyright (C) 2010, 2011 Anaël Verrier -# Copyright (C) 2014 kaliko +# Copyright (C) 2014, 2020 kaliko # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -35,7 +35,7 @@ class Plugin: } """ if isinstance(msg, str): - msg = {'mbody':msg} + msg = {'mbody': msg} msg.setdefault('mhtml', None) self.bot.send_message(mto=dest, mtype=mtype, -- 2.39.5