fix flow detail display

This commit is contained in:
Maximilian Hils 2014-09-16 15:36:26 +02:00
parent bfef9b4940
commit 4f56b76b2c

View File

@ -39,7 +39,7 @@ class FlowDetailsView(urwid.ListBox):
text.append(urwid.Text([("head", "Server Connection:")])) text.append(urwid.Text([("head", "Server Connection:")]))
sc = self.flow.server_conn sc = self.flow.server_conn
parts = [ parts = [
["Address", "%s:%s" % sc.peername], ["Address", "%s:%s" % sc.address()],
["Start time", utils.format_timestamp(sc.timestamp_start)], ["Start time", utils.format_timestamp(sc.timestamp_start)],
["End time", utils.format_timestamp(sc.timestamp_end) if sc.timestamp_end else "active"], ["End time", utils.format_timestamp(sc.timestamp_end) if sc.timestamp_end else "active"],
] ]