mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-07 02:28:50 +00:00
Add stub converter for 0.19 io format
This commit is contained in:
parent
dcbb968b1b
commit
4918feb725
@ -65,6 +65,11 @@ def convert_017_018(data):
|
|||||||
return data
|
return data
|
||||||
|
|
||||||
|
|
||||||
|
def convert_018_019(data):
|
||||||
|
data["version"] = (0, 19)
|
||||||
|
return data
|
||||||
|
|
||||||
|
|
||||||
def _convert_dict_keys(o):
|
def _convert_dict_keys(o):
|
||||||
# type: (Any) -> Any
|
# type: (Any) -> Any
|
||||||
if isinstance(o, dict):
|
if isinstance(o, dict):
|
||||||
@ -116,6 +121,7 @@ converters = {
|
|||||||
(0, 15): convert_015_016,
|
(0, 15): convert_015_016,
|
||||||
(0, 16): convert_016_017,
|
(0, 16): convert_016_017,
|
||||||
(0, 17): convert_017_018,
|
(0, 17): convert_017_018,
|
||||||
|
(0, 18): convert_018_019,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user