mirror of
https://github.com/solero/houdini.git
synced 2025-08-08 03:34:05 +00:00
Require that plugins set a self.server attribute
This commit is contained in:
@@ -27,3 +27,7 @@ class IPlugin(ABC):
|
||||
"""
|
||||
Called when the plugin is ready to function.
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
def __init__(self, server):
|
||||
self.server = server
|
||||
|
Reference in New Issue
Block a user