Skip to content

Commit

Permalink
Merge pull request #330 from hgalytoby/add_encoding_utf8
Browse files Browse the repository at this point in the history
Add encoding utf8
  • Loading branch information
joerick authored Aug 11, 2024
2 parents e25fee4 + ad1a972 commit ae998ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyinstrument/renderers/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def render(self, session: Session):
"Could not find app.js / app.css. Perhaps you need to run bin/build_js_bundle.py?"
)

js = js_file.read_text()
css = css_file.read_text()
js = js_file.read_text(encoding="utf-8")
css = css_file.read_text(encoding="utf-8")

session_json = self.render_json(session)

Expand Down

0 comments on commit ae998ff

Please sign in to comment.