[bugfix] no warning for volt_lvl = -1

This commit is contained in:
marcel committed 2023-02-17 16:14:59 +01:00
1 parent 305ab25ab2
commit 9d9ced7c83
1 file changed
+1 -1
+1 -1
View File
@@ -1128,7 +1128,7 @@ class StationQC(object):
if message == 'OK':
self.status_ok(key)
continue
if volt_lvl > 1:
if volt_lvl != 1:
n_occurrences = self.calc_occurrences(ind_array)
self.warn(key=key,
detailed_message=f'Trace {trace.get_id()}: '