mirror of
https://github.com/gryf/wicd.git
synced 2025-12-28 17:32:36 +01:00
another step fwd
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user