mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
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:
parent
fe482256f6
commit
5b4f70d6f9
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user