Fix for stable update version
This commit is contained in:
+1
-1
@@ -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
Executable → Regular
Executable → Regular
+1
-1
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user