shaper: fixup for 42c33d1

This commit is contained in:
alfrix committed 2023-09-12 07:33:12 -03:00
1 parent 42c33d1b43
commit edc0f0c9ed
1 file changed
+3 -3
+3 -3
View File
@@ -180,6 +180,6 @@ class Panel(ScreenPanel):
results = re.search(r'shaper_type_(?P<axis>[xy]):(?P<shaper_type>.*?) shaper_freq_.:('
r'?P<shaper_freq>[0-9.]+)', data)
if results:
results.groupdict()
self.freq_xy_adj['shaper_freq_' + results['axis']].set_value(float(results['shaper_freq']))
self.freq_xy_combo['shaper_type_' + results['axis']].set_active(SHAPERS.index(results['shaper_type']))
results = results.groupdict()
self.freq_xy_adj['shaper_freq_' + results['axis']].set_value(float(results['shaper_freq']))
self.freq_xy_combo['shaper_type_' + results['axis']].set_active(SHAPERS.index(results['shaper_type']))