Remove all f-strings due to some errors

This commit is contained in:
Hoang Hong Quan
2024-07-29 16:03:13 +07:00
parent ea98f0c950
commit a955966d72
13 changed files with 172 additions and 189 deletions
+3 -3
View File
@@ -52,11 +52,11 @@ class Updater:
print("")
current_version = self.get_current_version()
latest_version = self.get_latest_version()
print(f"Current script version: {current_version}")
print(f"Latest script version: {latest_version}")
print("Current script version: {}".format(current_version))
print("Latest script version: {}".format(latest_version))
print("")
if latest_version > current_version:
print(f"Updating from version {current_version} to {latest_version}\n")
print("Updating from version {} to {}\n".format(current_version, latest_version))
self.download_update()
self.update_files()
print("\n\n{}\n".format(self.utils.message("The program needs to restart to complete the update process.", "reminder")))