From 7a449eefed535027052925e968e4789204d33573 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Wed, 8 May 2024 21:16:40 -0400 Subject: [PATCH] add update note --- modules/update.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/update.py b/modules/update.py index 6a2d53b4f..65eb01649 100644 --- a/modules/update.py +++ b/modules/update.py @@ -33,11 +33,13 @@ def get_version(): # except Exception as e: # i.log.error(f'Version check failed: {e}') i.log.info(f'Version: {vars(version)}') + latest = f'
You\'re up to date!
' if version.chash == version.lhash else f'
Update available!
' html = f'''
URL: {version.url}
Current branch: {version.branch}
Current version: {version.current} hash {version.chash}
Latest version: {version.latest} hash {version.lhash}
+ {latest} ''' return html