diff --git a/server/initialise.py b/server/initialise.py index 891ad452..4389ebb3 100755 --- a/server/initialise.py +++ b/server/initialise.py @@ -673,7 +673,7 @@ def importConfigs(pm, db, all_plugins): # Check if app was upgraded buildTimestamp, new_version = getBuildTimeStampAndVersion() - prev_version = conf.VERSION + prev_version = conf.VERSION if conf.VERSION != '' else "unknown" mylog('debug', [f"[Config] buildTimestamp | prev_version | .VERSION file: '{buildTimestamp}|{prev_version}|{new_version}'"]) @@ -684,7 +684,7 @@ def importConfigs(pm, db, all_plugins): # ccd(key, default, config_dir, name, inputtype, options, group, events=None, desc="", setJsonMetadata=None, overrideTemplate=None, forceDefault=False) ccd('VERSION', new_version , c_d, '_KEEP_', '_KEEP_', '_KEEP_', '_KEEP_', None, "_KEEP_", None, None, True) - write_notification(f'[Upgrade] : App upgraded from {prev_version} to {new_version} 🚀 Please clear the cache:
{prev_version} to {new_version} 🚀 Please clear the cache: