mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-05 14:25:45 +00:00
some refactorings
This commit is contained in:
parent
e061adab4c
commit
2f5184742f
8 changed files with 104 additions and 14 deletions
|
|
@ -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 = []
|
||||
|
|
@ -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!"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue