upgrades: Split app initialziation

Tests:

- Upon startup, upgrade check runs every 3 minutes.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2021-11-15 10:13:59 -05:00
1 parent fe482256f6
commit 5b4f70d6f9
1 file changed
+2
+2
View File
@@ -92,6 +92,8 @@ class UpgradesApp(app_module.App):
**manifest.backup)
self.add(backup_restore)
def post_init(self):
"""Perform post initialization operations."""
self._show_new_release_notification()
# Check every day (every 3 minutes in debug mode):