mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #6654 from jdufresne/str-bytes
Correct str/bytes mixup in utils/jssplitter_generator.py
This commit is contained in:
commit
632889a4ef
@ -133,7 +133,7 @@ with open('../sphinx/search/jssplitter.py', 'w') as f:
|
||||
f.write(python_src)
|
||||
|
||||
with open('./regression_test.js', 'w') as f:
|
||||
f.write(js_test_src.encode())
|
||||
f.write(js_test_src)
|
||||
|
||||
print("starting test...")
|
||||
result = subprocess.call(['node', './regression_test.js'])
|
||||
|
Loading…
Reference in New Issue
Block a user