2
0
mirror of https://github.com/m-labs/artiq.git synced 2025-01-12 12:03:35 +08:00

units: fix strip_unit

This commit is contained in:
Sebastien Bourdeauducq 2015-02-27 10:43:03 -07:00
parent 0abd41a04a
commit f307897bec

View File

@ -262,3 +262,5 @@ def strip_unit(value, unit):
raise DimensionError
else:
return value.amount
else:
return value