Skip to content
Snippets Groups Projects
Commit abbba1dd authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix skipping of plots

parent 65819b65
No related branches found
No related tags found
No related merge requests found
......@@ -159,7 +159,7 @@ class ZTPlot(kp.Module):
'overlays'] or n_hits > self.records[
'n_hits'] or n_triggered_hits > self.records["n_triggered_hits"]
if not is_new_record or (utc_timestamp - self.last_plot_time) < 60:
if (utc_timestamp - self.last_plot_time) < 60 and not is_new_record:
self.log.debug("Skipping plot...")
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment