[core] fix tests
This commit is contained in:
parent
dd4294ecfa
commit
9ef826b5fd
3 changed files with 5 additions and 5 deletions
|
@ -66,7 +66,7 @@ def astemperature(val, unit="metric"):
|
|||
:return: temperature representation of the input value
|
||||
:rtype: string
|
||||
"""
|
||||
return "{}°{}".format(int(value), __UNITS.get(unit, __UNITS["default"]))
|
||||
return "{}°{}".format(int(val), __UNITS.get(unit, __UNITS["default"]))
|
||||
|
||||
|
||||
def byte(val, fmt="{:.2f}"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue