contrib_bots: Fix lint error in rate limiting code.
This commit is contained in:
parent
26fa2a5fc5
commit
a792ecd025
|
@ -50,8 +50,8 @@ class RestrictedClient(object):
|
||||||
self.client.send_message(*args, **kwargs)
|
self.client.send_message(*args, **kwargs)
|
||||||
else:
|
else:
|
||||||
logging.error('-----> !*!*!*MESSAGE RATE LIMIT REACHED, EXITING*!*!*! <-----\n'
|
logging.error('-----> !*!*!*MESSAGE RATE LIMIT REACHED, EXITING*!*!*! <-----\n'
|
||||||
'Is your bot trapped in an infinite loop by reacting to'
|
'Is your bot trapped in an infinite loop by reacting to'
|
||||||
' its own messages?')
|
' its own messages?')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
def get_lib_module(lib_fn):
|
def get_lib_module(lib_fn):
|
||||||
|
|
Loading…
Reference in a new issue