mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
Fix crash when duplicating flow
This commit is contained in:
parent
9a88594684
commit
a8f7c30aa0
@ -113,8 +113,8 @@ class Flow(stateobject.StateObject):
|
||||
def copy(self):
|
||||
f = super().copy()
|
||||
f.id = str(uuid.uuid4())
|
||||
f.live = False;
|
||||
if self.reply != None:
|
||||
f.live = False
|
||||
if self.reply is not None:
|
||||
f.reply = controller.DummyReply()
|
||||
return f
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user