diff --git a/plinth/modules/shaarli/views.py b/plinth/modules/shaarli/views.py index 1965d5a44..6182db539 100644 --- a/plinth/modules/shaarli/views.py +++ b/plinth/modules/shaarli/views.py @@ -29,10 +29,10 @@ from plinth import package from plinth.modules import shaarli def on_install(): -"""Notify that the service is now enabled.""" -shaarli.service.notify_enabled(None, True) + """Notify that the service is now enabled.""" + shaarli.service.notify_enabled(None, True) -@package.required(['shaarli']) +@package.required(['shaarli'], on_install=on_install) def index(request): """Serve configuration page.""" status = get_status()