Fix for stable update version

This commit is contained in:
Ozzie Isaacs
2024-11-11 18:46:07 +01:00
parent 5a87c1c4b3
commit 2fff002699
7 changed files with 166 additions and 64 deletions
+1 -1
View File
@@ -219,7 +219,7 @@ def admin():
form_date += timedelta(hours=int(commit[20:22]), minutes=int(commit[23:]))
commit = format_datetime(form_date - tz, format='short')
else:
commit = version.replace("b", " Beta")
commit = version['version'].replace("b", " Beta")
all_user = ub.session.query(ub.User).all()
# email_settings = mail_config.get_mail_settings()
Executable → Regular
View File
Executable → Regular
View File
Executable → Regular
View File
+1 -1
View File
@@ -329,7 +329,7 @@ class Updater(threading.Thread):
@classmethod
def _stable_version_info(cls):
log.debug("Stable version: {}".format(constants.STABLE_VERSION))
return constants.STABLE_VERSION # Current Version
return {'version': constants.STABLE_VERSION }
@classmethod
def dry_run(cls):