mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-12-03 12:23:46 +00:00
Small workaround to make mitmproxy work again.
Further work is required to make scripts work again, though.
This commit is contained in:
parent
3bd238de37
commit
1d536f64d5
@ -173,7 +173,7 @@ class StatusBar(common.WWrap):
|
|||||||
if opts:
|
if opts:
|
||||||
r.append("[%s]"%(":".join(opts)))
|
r.append("[%s]"%(":".join(opts)))
|
||||||
|
|
||||||
if self.master.script:
|
if self.master.scripts:
|
||||||
r.append("[script:%s]"%self.master.script.path)
|
r.append("[script:%s]"%self.master.script.path)
|
||||||
|
|
||||||
if self.master.debug:
|
if self.master.debug:
|
||||||
@ -880,7 +880,7 @@ class ConsoleMaster(flow.FlowMaster):
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
elif k == "s":
|
elif k == "s":
|
||||||
if self.script:
|
if self.scripts:
|
||||||
self.load_script(None)
|
self.load_script(None)
|
||||||
else:
|
else:
|
||||||
self.path_prompt(
|
self.path_prompt(
|
||||||
|
Loading…
Reference in New Issue
Block a user