mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-01 15:55:28 +00:00
Fix being unable to export binary data in requests (#1069)
This commit is contained in:
parent
5c8e7a090e
commit
4306304827
@ -303,7 +303,7 @@ def copy_to_clipboard_or_prompt(data):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
pyperclip.copy(toclip)
|
pyperclip.copy(toclip)
|
||||||
except (RuntimeError, UnicodeDecodeError, AttributeError):
|
except (RuntimeError, UnicodeDecodeError, AttributeError, TypeError):
|
||||||
def save(k):
|
def save(k):
|
||||||
if k == "y":
|
if k == "y":
|
||||||
ask_save_path("Save data", data)
|
ask_save_path("Save data", data)
|
||||||
|
Loading…
Reference in New Issue
Block a user