mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +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:
|
||||
r.append("[%s]"%(":".join(opts)))
|
||||
|
||||
if self.master.script:
|
||||
if self.master.scripts:
|
||||
r.append("[script:%s]"%self.master.script.path)
|
||||
|
||||
if self.master.debug:
|
||||
@ -880,7 +880,7 @@ class ConsoleMaster(flow.FlowMaster):
|
||||
)
|
||||
)
|
||||
elif k == "s":
|
||||
if self.script:
|
||||
if self.scripts:
|
||||
self.load_script(None)
|
||||
else:
|
||||
self.path_prompt(
|
||||
|
Loading…
Reference in New Issue
Block a user