Skip to content
Snippets Groups Projects
Commit 19848a9b authored by Adrien Béraud's avatar Adrien Béraud
Browse files

python: encode log file name

parent 36e9998f
Branches
Tags
No related merge requests found
...@@ -302,7 +302,7 @@ cdef class DhtRunner(_WithID): ...@@ -302,7 +302,7 @@ cdef class DhtRunner(_WithID):
def disableLogging(self): def disableLogging(self):
cpp.disableLogging(self.thisptr.get()[0]) cpp.disableLogging(self.thisptr.get()[0])
def enableFileLogging(self, str path): def enableFileLogging(self, str path):
cpp.enableFileLogging(self.thisptr.get()[0], path) cpp.enableFileLogging(self.thisptr.get()[0], path.encode())
def isRunning(self): def isRunning(self):
return self.thisptr.get().isRunning() return self.thisptr.get().isRunning()
def getStorageLog(self): def getStorageLog(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment