Towards mypy cleanliness.
[kiosk.git] / file_writer.py
index ad067104f4980d247f432c6b50789ed2d49c2998..3cb2f39458fe475e99c438a5a38d0cd76572d874 100644 (file)
@@ -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", "-")