mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
2be19a5620
@ -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