mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
Short-form getstate
This commit is contained in:
parent
414a0a1602
commit
0e30796469
@ -162,7 +162,7 @@ class ODict:
|
|||||||
return count
|
return count
|
||||||
|
|
||||||
# Implement the StateObject protocol from mitmproxy
|
# Implement the StateObject protocol from mitmproxy
|
||||||
def get_state(self):
|
def get_state(self, short=False):
|
||||||
return [tuple(i) for i in self.lst]
|
return [tuple(i) for i in self.lst]
|
||||||
|
|
||||||
def load_state(self, state):
|
def load_state(self, state):
|
||||||
|
Loading…
Reference in New Issue
Block a user