Fix script encoding

This commit is contained in:
hyugogirubato 2024-07-07 10:22:55 +02:00
parent 35fb6179ff
commit 688954a664
1 changed files with 1 additions and 1 deletions

View File

@ -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