Clean up log file output and fix some bugs. Swallows spammy and useless AMP connection errors.

This commit is contained in:
Griatch 2016-09-13 23:10:51 +02:00
parent 86c970eb62
commit 76a903119c
4 changed files with 17 additions and 5 deletions

View file

@ -657,8 +657,8 @@ class ServerSessionHandler(SessionHandler):
message (str): Message to send.
"""
for sess in self.values():
self.data_out(sess, text=message)
for session in self.values():
self.data_out(session, text=message)
def data_out(self, session, **kwargs):
"""