Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
juga
sbws
Commits
d548abe8
Commit
d548abe8
authored
Jun 13, 2018
by
juga
Browse files
Fix earliest bandwidth from results
by mistake from_results was calling latest_bandwidth instead of earliest_bandwidth
parent
82e7665d
Changes
1
Hide whitespace changes
Inline
Side-by-side
sbws/lib/v3bwfile.py
View file @
d548abe8
...
...
@@ -223,7 +223,7 @@ class V3BwHeader(object):
def
from_results
(
cls
,
conf
,
results
):
kwargs
=
dict
()
latest_bandwidth
=
cls
.
latest_bandwidth_from_results
(
results
)
earliest_bandwidth
=
cls
.
lat
est_bandwidth_from_results
(
results
)
earliest_bandwidth
=
cls
.
earli
est_bandwidth_from_results
(
results
)
generator_started
=
cls
.
generator_started_from_file
(
conf
)
timestamp
=
str
(
latest_bandwidth
)
kwargs
[
'latest_bandwidth'
]
=
unixts_to_isodt_str
(
latest_bandwidth
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment