contrib_bots: Fix lint error in rate limiting code.

This commit is contained in:
Tim Abbott 2017-01-10 15:10:17 -08:00
parent 26fa2a5fc5
commit a792ecd025

View file

@ -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):