From 690b16b710d7946cc3b1bd5fa734aacc0940c021 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 15 Jan 2024 23:55:44 +0100 Subject: [PATCH] rename --- changedetectionio/flask_app.py | 6 ++---- changedetectionio/plugins/{default.py => whois.py} | 0 2 files changed, 2 insertions(+), 4 deletions(-) rename changedetectionio/plugins/{default.py => whois.py} (100%) diff --git a/changedetectionio/flask_app.py b/changedetectionio/flask_app.py index 279be4ca..47295d8c 100644 --- a/changedetectionio/flask_app.py +++ b/changedetectionio/flask_app.py @@ -50,16 +50,14 @@ update_q = queue.PriorityQueue() notification_q = queue.Queue() from changedetectionio.plugins import hookspecs -from changedetectionio.plugins import default as default_plugin - - +from changedetectionio.plugins import whois as whois_plugin def get_plugin_manager(): import pluggy pm = pluggy.PluginManager("eggsample") pm.add_hookspecs(hookspecs) pm.load_setuptools_entrypoints("eggsample") - pm.register(default_plugin) + pm.register(whois_plugin) return pm app = Flask(__name__, diff --git a/changedetectionio/plugins/default.py b/changedetectionio/plugins/whois.py similarity index 100% rename from changedetectionio/plugins/default.py rename to changedetectionio/plugins/whois.py