fixes type that prevents socket clean up from being called (#21568)

pull/21571/head
Peter Sprygada 8 years ago committed by GitHub
parent b0abbb5f8b
commit eaba067de9

@ -222,7 +222,7 @@ class Server():
# the socket file so it can be recreated
end_time = datetime.datetime.now()
delta = end_time - self._start_time
dsplay.v('shutting down connection, connection was active for %s secs' % delta, self.play_context.remote_addr)
display.v('shutting down connection, connection was active for %s secs' % delta, self.play_context.remote_addr)
try:
self.conn.close()
self.socket.close()

Loading…
Cancel
Save