projects
/
kiosk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Towards mypy cleanliness.
[kiosk.git]
/
file_writer.py
diff --git
a/file_writer.py
b/file_writer.py
index ad067104f4980d247f432c6b50789ed2d49c2998..3cb2f39458fe475e99c438a5a38d0cd76572d874 100644
(file)
--- a/
file_writer.py
+++ b/
file_writer.py
@@
-16,7
+16,6
@@
class file_writer:
@staticmethod
def remove_tricky_unicode(x: str) -> str:
try:
- x = x.decode("utf-8")
x = x.replace("\u2018", "'").replace("\u2019", "'")
x = x.replace("\u201c", '"').replace("\u201d", '"')
x = x.replace("\u2e3a", "-").replace("\u2014", "-")