Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
opendht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
opendht
Commits
19848a9b
Commit
19848a9b
authored
8 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
python: encode log file name
parent
36e9998f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/opendht.pyx
+1
-1
1 addition, 1 deletion
python/opendht.pyx
with
1 addition
and
1 deletion
python/opendht.pyx
+
1
−
1
View file @
19848a9b
...
@@ -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
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment