diff --git a/plinth/modules/ttrss/__init__.py b/plinth/modules/ttrss/__init__.py index d58fc7512..461e07471 100644 --- a/plinth/modules/ttrss/__init__.py +++ b/plinth/modules/ttrss/__init__.py @@ -94,7 +94,6 @@ class TTRSSApp(app_module.App): def enable(self): """Enable components and API access.""" - super().enable() privileged.enable_api_access() # Try to set the domain to one of the available TLS domains @@ -104,6 +103,8 @@ class TTRSSApp(app_module.App): domain = next(names.get_available_tls_domains(), None) privileged.set_domain(domain) + super().enable() + def setup(self, old_version): """Install and configure the app.""" privileged.pre_setup()