Skip to content

Commit c21c984

Browse files
committed
Fix ident
1 parent c2beb8d commit c21c984

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugwise/helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ def power_data_energy_diff(measurement, net_string, f_val, direct_data):
211211
if isinstance(f_val, int):
212212
direct_data[net_string] += f_val * diff
213213
else:
214-
direct_data[net_string] += float(f_val * diff)
215-
direct_data[net_string] = float(f"{round(direct_data[net_string], 3):.3f}")
214+
direct_data[net_string] += float(f_val * diff)
215+
direct_data[net_string] = float(f"{round(direct_data[net_string], 3):.3f}")
216216

217217
return direct_data
218218

0 commit comments

Comments
 (0)