Commit 181121ea authored by Philippe Bollard's avatar Philippe Bollard
Browse files

Fix GLPI #293569 : Unité 'm/s²' avec le paramètre 'diff'

parent d1a31a8b
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment