Skip to content

Commit 352e756

Browse files
committed
Fix typo
1 parent 4851d67 commit 352e756

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
@@ -93,7 +93,7 @@ def format_measure(measure, unit):
9393
measure = int(measure)
9494
except ValueError:
9595
if unit == PERCENTAGE and float(measure) > 0:
96-
return = int(float(measure) * 100)
96+
return int(float(measure) * 100)
9797

9898
if unit == ENERGY_KILO_WATT_HOUR:
9999
measure = float(measure) / 1000

0 commit comments

Comments
 (0)