mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-31 15:28:50 +00:00
remove str()
This commit is contained in:
parent
1bbb178b6a
commit
4ec56808dd
@ -109,7 +109,7 @@ class Token(object):
|
|||||||
class _TokValueLiteral(Token):
|
class _TokValueLiteral(Token):
|
||||||
|
|
||||||
def __init__(self, val):
|
def __init__(self, val):
|
||||||
self.val = escaped_str_to_bytes(str(val))
|
self.val = escaped_str_to_bytes(val)
|
||||||
|
|
||||||
def get_generator(self, settings_):
|
def get_generator(self, settings_):
|
||||||
return self.val
|
return self.val
|
||||||
|
Loading…
Reference in New Issue
Block a user