some refactorings

This commit is contained in:
Bastian Schroll 2019-10-28 21:20:05 +01:00
parent e061adab4c
commit 2f5184742f
No known key found for this signature in database
GPG key ID: 0AE96912A20E9F5F
8 changed files with 104 additions and 14 deletions

View file

@ -9,7 +9,7 @@
German BOS Information Script
by Bastian Schroll
@file: plugin.py
@file: pluginBase.py
@date: 08.01.2018
@author: Bastian Schroll
@description: Plugin main class to inherit
@ -22,7 +22,7 @@ from boswatch import wildcard
logging.debug("- %s loaded", __name__)
class Plugin:
class PluginBase:
"""!Main plugin class"""
_pluginsActive = []

View file

@ -15,7 +15,7 @@
@description: Template Plugin File
"""
import logging
from plugin.plugin import Plugin
from plugin.pluginBase import PluginBase
# ###################### #
# Custom plugin includes #
@ -25,7 +25,7 @@ from plugin.plugin import Plugin
logging.debug("- %s loaded", __name__)
class BoswatchPlugin(Plugin):
class BoswatchPluginBase(PluginBase):
"""!Description of the Plugin"""
def __init__(self, config):
"""!Do not change anything here!"""