Skip to content

Commit 549ee32

Browse files
committed
Add missed mod --> loc changes
1 parent d453814 commit 549ee32

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
@@ -1287,8 +1287,8 @@ def _power_data_from_modules(self) -> DeviceData:
12871287
for loc.log_type in mod_list:
12881288
for loc.peak_select in peak_list:
12891289
loc.locator = (
1290-
f"./{mod.meas_list[0]}_{mod.log_type}/measurement"
1291-
f'[@directionality="{mod.meas_list[1]}"][@{t_string}="{mod.peak_select}"]'
1290+
f"./{loc.meas_list[0]}_{loc.log_type}/measurement"
1291+
f'[@directionality="{loc.meas_list[1]}"][@{t_string}="{loc.peak_select}"]'
12921292
)
12931293
loc = self._power_data_peak_value(direct_data, loc)
12941294
if not loc.found:

0 commit comments

Comments
 (0)