From: kaliko Date: Fri, 1 May 2020 10:41:57 +0000 (+0200) Subject: Update copyrights X-Git-Tag: 0.1.0~30 X-Git-Url: http://git.kaliko.me/?p=sid.git;a=commitdiff_plain;h=dbc1b2e6149234b8571425b6684a2858fa52c545 Update copyrights --- 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,