From e5b56e44f1f966ba336dd54ad5cead72c56d2458 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sun, 14 Nov 2021 12:03:50 -0800 Subject: [PATCH] pagekite: Split app initialization Tests: - When configured, upon startup, pagekite domains shows up in the names module. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- plinth/modules/pagekite/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plinth/modules/pagekite/__init__.py b/plinth/modules/pagekite/__init__.py index 40f2c5913..8ae7d04d2 100644 --- a/plinth/modules/pagekite/__init__.py +++ b/plinth/modules/pagekite/__init__.py @@ -89,6 +89,8 @@ class PagekiteApp(app_module.App): **manifest.backup) self.add(backup_restore) + def post_init(self): + """Perform post initialization operations.""" # Register kite name with Name Services module. setup_helper = globals()['setup_helper'] if setup_helper.get_state() != 'needs-setup' and self.is_enabled():