Skip to content

Commit 676ad49

Browse files
committed
Prepare format_measure
1 parent dc82418 commit 676ad49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def escape_illegal_xml_characters(xmldata):
6565
return re.sub(r"&([^a-zA-Z#])", r"&\1", xmldata)
6666

6767

68-
def format_measure(measure):
68+
def format_measure(measure, unit):
6969
"""Format measure to correct type."""
7070
try:
7171
measure = int(measure)

0 commit comments

Comments
 (0)