diff options
-rw-r--r-- | lorrycontroller/status.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lorrycontroller/status.py b/lorrycontroller/status.py index 58669fb..9c907bf 100644 --- a/lorrycontroller/status.py +++ b/lorrycontroller/status.py @@ -61,7 +61,7 @@ class StatusRenderer(object): try: temp_filename = self.temp_filename_in_same_dir_as(filename) with open(temp_filename, 'w') as f: - f.write(html) + f.write(html.encode("UTF-8")) os.rename(temp_filename, filename) except (OSError, IOError) as e: self.remove_temp_file(temp_filename) |