Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sbws
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
juga
sbws
Commits
88ffb0eb
Commit
88ffb0eb
authored
6 years ago
by
juga
Committed by
Matt Traudt
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Replace conf['tor']x by conf.getpath('tor', x)
parent
110dcfa3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sbws/core/scanner.py
+3
-2
3 additions, 2 deletions
sbws/core/scanner.py
with
3 additions
and
2 deletions
sbws/core/scanner.py
+
3
−
2
View file @
88ffb0eb
...
...
@@ -316,7 +316,7 @@ def result_putter_error(target):
def
run_speedtest
(
args
,
conf
):
controller
,
_
=
stem_utils
.
init_controller
(
path
=
conf
[
'
tor
'
][
'
control_socket
'
]
)
path
=
conf
.
getpath
(
'
tor
'
,
'
control_socket
'
)
)
if
not
controller
:
controller
=
stem_utils
.
launch_tor
(
conf
)
else
:
...
...
@@ -328,7 +328,8 @@ def run_speedtest(args, conf):
'
If you experience problems, you should try letting sbws launch
'
'
Tor for itself. The ability to use an already running Tor only
'
'
exists for sbws developers. It is expected to be broken and may
'
'
even lead to messed up results.
'
,
conf
[
'
tor
'
][
'
control_socket
'
])
'
even lead to messed up results.
'
,
conf
.
getpath
(
'
tor
'
,
'
control_socket
'
))
time
.
sleep
(
15
)
rl
=
RelayList
(
args
,
conf
,
controller
)
cb
=
CB
(
args
,
conf
,
controller
,
rl
)
...
...
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