Merge "Fix Python 3 compatibility issue in V8EvalEvaluator"
This commit is contained in:
commit
598d214de8
@ -75,7 +75,7 @@ class V8EvalEvaluator(JSEvaluator):
|
||||
ctx_str = utils.to_json_str(ctx)
|
||||
|
||||
return v8.eval(
|
||||
('$ = %s; %s' % (ctx_str, script)).encode(encoding='UTF-8')
|
||||
'$ = %s; %s' % (ctx_str, script)
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user