mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +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:
1 parent
fe482256f6
commit
5b4f70d6f9
1 file changed
+2
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user