Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OSUG
RESIF
ws-timeseries
Commits
181121ea
Commit
181121ea
authored
Jun 18, 2021
by
Philippe Bollard
Browse files
Fix GLPI #293569 : Unité 'm/s²' avec le paramètre 'diff'
parent
d1a31a8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/utils.py
View file @
181121ea
...
...
@@ -581,7 +581,7 @@ def get_units(params, plot_channel):
units
=
" m/s²"
elif
params
[
"units"
]
==
"DISP"
:
units
=
" m"
elif
params
[
"units"
]
==
"AUTO"
and
plot_channel
[
1
]
==
"N"
:
elif
params
[
"units"
]
==
"AUTO"
and
(
plot_channel
[
1
]
==
"N"
or
params
[
'diff'
])
:
units
=
" m/s²"
return
units
...
...
Write
Preview
Markdown
is supported
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