]> git.ipfire.org Git - oddments/collecty.git/blobdiff - src/collecty/plugins/latency.py
Allow the plugins to return the results as a tuple or list
[oddments/collecty.git] / src / collecty / plugins / latency.py
index a6db8d0bd29bb9d56132020eb79a691518007b15..0b2324a75b5f28a8fe0817c8b3b2d8dbf89a38ef 100644 (file)
@@ -112,11 +112,11 @@ class LatencyObject(base.Object):
                                % { "host" : self.hostname, "msg" : e.msg })
                        return
 
-               return ":".join((
+               return (
                        "%.10f" % ping.avg_time,
                        "%.10f" % ping.loss,
                        "%.10f" % ping.stddev,
-               ))
+               )
 
 
 class LatencyPlugin(base.Plugin):