Skip to content

Commit

Permalink
Added HTML UTF-8 encoding support
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-cues committed Apr 5, 2018
1 parent 98661dc commit 0452424
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/workbench.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ def craft_html(company, tech_html, employee_html, filename):
page = """
<html>
<head><title>InSpy - {company}</title>
<meta charset="UTF-8">
</head>
<body style='font-family: arial, sans-serif; font-size: 14px; margin: 10px 0 0 20px;'>
<h2>InSpy</h2>
Expand Down Expand Up @@ -189,4 +190,4 @@ def craft_json(tech_json, employee_json, filename):
full_json = emp

with open(os.path.abspath(filename), 'w') as f:
f.write(json.dumps(full_json))
f.write(json.dumps(full_json))
Binary file modified lib/workbench.pyc
Binary file not shown.

0 comments on commit 0452424

Please sign in to comment.