Fix startup for plugins without webapp
This commit is contained in:
parent
169aece027
commit
8687a3b591
@ -1 +1 @@
|
|||||||
__version__ = "0.1.0.dev29"
|
__version__ = "0.1.0.dev30"
|
||||||
|
@ -50,7 +50,7 @@ class Plugin(ABC):
|
|||||||
self.config = config
|
self.config = config
|
||||||
self.database = database
|
self.database = database
|
||||||
self.webapp = webapp
|
self.webapp = webapp
|
||||||
self.webapp_url = URL(webapp_url)
|
self.webapp_url = URL(webapp_url) if webapp_url else None
|
||||||
self._handlers_at_startup = []
|
self._handlers_at_startup = []
|
||||||
|
|
||||||
def register_handler_class(self, obj) -> None:
|
def register_handler_class(self, obj) -> None:
|
||||||
|
Loading…
Reference in New Issue
Block a user