Skip to content

Commit

Permalink
Merge pull request #11 from danicuestasuarez/master
Browse files Browse the repository at this point in the history
Added HTML UTF-8 encoding support. Fixes #10
  • Loading branch information
jobroche authored Apr 5, 2018
2 parents 98661dc + 0452424 commit 54a5398
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 54a5398

Please sign in to comment.