aboutsummaryrefslogtreecommitdiffstats
path: root/cleanup.py
diff options
context:
space:
mode:
authorgenofire <geno+dev@fireorbit.de>2020-06-24 11:31:40 +0200
committergenofire <geno+dev@fireorbit.de>2020-06-24 11:31:40 +0200
commit87dc79a2f7b7195a98e8cbadeb0e04b1b1c7a6bb (patch)
tree6b4a6c7c9d908139e3e3f5fbbe20734815ed6b12 /cleanup.py
parentede665016b28db7848c2c9b5f2c0780a915470fc (diff)
parent71440b7a8fa8b20cb1174e5451efc6ab7f9824ae (diff)
Inherits control in metrics (+ fix nameing to _count)
See merge request sum7/ejabberd-tools!5
Diffstat (limited to 'cleanup.py')
-rwxr-xr-xcleanup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cleanup.py b/cleanup.py
index 1654497..f66bea9 100755
--- a/cleanup.py
+++ b/cleanup.py
@@ -3,10 +3,10 @@
import datetime
import logging
-from control import EjabberdCtl
+from calls import EjabberdApiCalls
-class EjabberdCleanup(EjabberdCtl):
+class EjabberdCleanup(EjabberdApiCalls):
def __init__(self, url, login, api):
super().__init__(url, login, api)
self.ignore_hosts = []