Format new GUID in reset_machine_manual.py to include braces for consistency.

This commit is contained in:
yeongpin 2025-03-29 21:55:21 +08:00
parent 17799e0209
commit bd96107911

View File

@ -613,7 +613,7 @@ class MachineIDResetter:
try: try:
import winreg import winreg
# 1. Generate new GUID # 1. Generate new GUID
new_guid = str(uuid.uuid4()).upper() new_guid = "{" + str(uuid.uuid4()).upper() + "}"
print(f"{Fore.CYAN}{EMOJI['INFO']} {self.translator.get('reset.new_machine_id')}: {new_guid}{Style.RESET_ALL}") print(f"{Fore.CYAN}{EMOJI['INFO']} {self.translator.get('reset.new_machine_id')}: {new_guid}{Style.RESET_ALL}")
# 2. Open the registry key # 2. Open the registry key