chore(installer): fix output when prompting user about downgrade

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
Akhil Narang 2023-11-20 16:40:51 +05:30
parent 9bf818eb4a
commit b010dc584f
No known key found for this signature in database
GPG key ID: 9DCC61E211BF645F

View file

@ -799,7 +799,7 @@ def is_downgrade(sql_file_path, verbose=False):
downgrade = Version(backup_version) < current_version
if verbose and downgrade:
print(f"Your site will be downgraded from Frappe {backup_version} to {current_version}")
print(f"Your site will be downgraded from Frappe {current_version} to {backup_version}")
return downgrade