Fix script encoding
This commit is contained in:
parent
35fb6179ff
commit
688954a664
|
@ -53,7 +53,7 @@ class Core:
|
||||||
Returns:
|
Returns:
|
||||||
str: The prepared script content.
|
str: The prepared script content.
|
||||||
"""
|
"""
|
||||||
content = Path(__file__).with_name('keydive.js').read_text()
|
content = Path(__file__).with_name('keydive.js').read_text(encoding='utf-8')
|
||||||
symbols = self.__prepare_symbols(self.functions)
|
symbols = self.__prepare_symbols(self.functions)
|
||||||
|
|
||||||
# Replace placeholders in script template
|
# Replace placeholders in script template
|
||||||
|
|
Loading…
Reference in New Issue