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 2021-11-14 12:08:35 -08:00 committed by James Valleroy
parent fe482256f6
commit 5b4f70d6f9
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

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):