diff --git a/scripts/ztplot.py b/scripts/ztplot.py
index 7424e4037207176a1b598b0a55ed547e882e92e4..86b5b499ae79f539c21f5be034893320f34f0658 100755
--- a/scripts/ztplot.py
+++ b/scripts/ztplot.py
@@ -215,7 +215,7 @@ class ZTPlot(kp.Module):
             ])
             shutil.copy(f, plot_filename)
             self._update_lower_limits()
-            self['services']['post_elog'](
+            self.services['post_elog'](
                 logbook=self.logbook,
                 subject="New massive event!",
                 message="A new event has made it into the top 10!",