From 62b4f67a2e4caacbfc2de2c06af7ba8df2ec816b Mon Sep 17 00:00:00 2001 From: Prachi Srivastava Date: Thu, 31 Jan 2019 12:25:01 +0530 Subject: [PATCH] help: Use freedombox package instead of plinth for version Reviewed-by: Sunil Mohan Adapa --- plinth/modules/help/help.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plinth/modules/help/help.py b/plinth/modules/help/help.py index 99eb73e48..d007b1499 100644 --- a/plinth/modules/help/help.py +++ b/plinth/modules/help/help.py @@ -54,11 +54,11 @@ def index(request): def about(request): """Serve the about page""" cache = Cache() - plinth = cache['plinth'] + freedombox = cache['freedombox'] context = { 'title': _('About {box_name}').format(box_name=_(cfg.box_name)), 'version': __version__, - 'new_version': not plinth.candidate.is_installed, + 'new_version': not freedombox.candidate.is_installed, 'os_release': get_os_release() } return TemplateResponse(request, 'help_about.html', context)