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