use floor division

This commit is contained in:
tim watts
2016-01-05 22:37:22 +00:00
parent 65a0156412
commit eece2ae7a5
3 changed files with 3 additions and 5 deletions

View File

@ -165,9 +165,7 @@ class TMSPServer():
self.handle_conn_closed(r)
return
except Exception as e:
import sys
print(sys.exc_info()[0])
print("error reading from connection", str(e))
logger.exception("error reading from connection")
self.handle_conn_closed(r)
return