mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 10:16:27 +00:00
Replace tabs with spaces in error
because the event log replaces them with question marks
This commit is contained in:
parent
825bc9aa47
commit
f2c0f598b5
@ -103,7 +103,7 @@ class Command:
|
||||
except TypeError:
|
||||
expected = f'Expected: {str(self.signature.parameters)}'
|
||||
received = f'Received: {str(args)}'
|
||||
raise exceptions.CommandError(f"Command argument mismatch: \n\t{expected}\n\t{received}")
|
||||
raise exceptions.CommandError(f"Command argument mismatch: \n {expected}\n {received}")
|
||||
|
||||
for name, value in bound_arguments.arguments.items():
|
||||
convert_to = self.signature.parameters[name].annotation
|
||||
|
Loading…
Reference in New Issue
Block a user