Skip to content

Commit

Permalink
Merge pull request mitmproxy#2509 from ujjwal96/compat
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils authored Aug 9, 2017
2 parents 802e8cb + a4048c8 commit bb0ab45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mitmproxy/io/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def convert_017_018(data):
# convert_unicode needs to be called for every dual release and the first py3-only release
data = convert_unicode(data)

data["server_conn"]["ip_address"] = data["server_conn"].pop("peer_address")
data["server_conn"]["ip_address"] = data["server_conn"].pop("peer_address", None)
data["marked"] = False
data["version"] = (0, 18)
return data
Expand Down

0 comments on commit bb0ab45

Please sign in to comment.