Skip to content

Commit

Permalink
add encoding utf-8
Browse files Browse the repository at this point in the history
  • Loading branch information
hgalytoby committed Aug 7, 2024
1 parent 73cdc32 commit ad1a972
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(encoding='utf-8')
css = css_file.read_text(encoding='utf-8')
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 ad1a972

Please sign in to comment.