1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-28 01:12:34 +01:00

another step fwd

This commit is contained in:
Guido Serra
2019-09-10 09:50:56 +02:00
parent 404545ffd5
commit 15ca072eed

View File

@@ -48,7 +48,7 @@ class LogFile:
def write(self, data): def write(self, data):
self.written += len(data) self.written += len(data)
data = data.decode('utf-8').encode('utf-8') data = data.encode('utf-8')
if len(data) <= 0: if len(data) <= 0:
return return
if self.eol: if self.eol: