diff options
Diffstat (limited to 'WebappConfig/content.py')
-rw-r--r-- | WebappConfig/content.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebappConfig/content.py b/WebappConfig/content.py index de65d1d..8fe5be9 100644 --- a/WebappConfig/content.py +++ b/WebappConfig/content.py @@ -298,7 +298,7 @@ class Contents: fd = os.open(self.appdb(), os.O_WRONLY | os.O_CREAT, self.__perm(0o600)) - os.write(fd, '\n'.join(values)) + os.write(fd, ('\n'.join(values)).encode('utf-8')) os.close(fd) except Exception as e: |