Remove spurious change unrelated to PEP8
This commit is contained in:
parent
25ce082eac
commit
5898a37997
1 changed files with 1 additions and 5 deletions
|
@ -68,10 +68,6 @@ class RtmBot(object):
|
||||||
message = output[1].encode('ascii', 'ignore')
|
message = output[1].encode('ascii', 'ignore')
|
||||||
channel.send_message("{}".format(message))
|
channel.send_message("{}".format(message))
|
||||||
limiter = True
|
limiter = True
|
||||||
# TODO: check goal: no sleep for 1st channel, sleep of all after ?
|
|
||||||
# TODO: find out how to safely encode stuff if needed :(
|
|
||||||
# message = output[1].encode('utf-8','ignore')
|
|
||||||
channel.send_message(output[1]) # message
|
|
||||||
|
|
||||||
def crons(self):
|
def crons(self):
|
||||||
for plugin in self.bot_plugins:
|
for plugin in self.bot_plugins:
|
||||||
|
@ -95,7 +91,7 @@ class Plugin(object):
|
||||||
|
|
||||||
def __init__(self, name, plugin_config=None):
|
def __init__(self, name, plugin_config=None):
|
||||||
if plugin_config is None:
|
if plugin_config is None:
|
||||||
plugin_config = {} # TODO: is this necessary?
|
plugin_config = {} # TODO: is this variable necessary?
|
||||||
self.name = name
|
self.name = name
|
||||||
self.jobs = []
|
self.jobs = []
|
||||||
self.module = __import__(name)
|
self.module = __import__(name)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue