Refactor code for readability and compatibility.

This commit is contained in:
Griatch 2017-01-27 00:19:27 +01:00
parent a09835049b
commit c6d9c0619e
43 changed files with 129 additions and 112 deletions

View file

@ -364,6 +364,7 @@ class PortalSessionHandler(SessionHandler):
self.data_out(session, text=[[_ERROR_MAX_CHAR], {}])
return
except Exception:
# if there is a problem to send, we continue
pass
if session:
now = time()