Added Phoenix TDK Packer Extractor v2.0_a4

f-strings all the things!
This commit is contained in:
platomav 2022-05-22 00:24:20 +03:00
parent b4a93513f7
commit 7bb0c5f9a9
10 changed files with 379 additions and 138 deletions

View file

@ -35,7 +35,7 @@ def check_sys_py():
sys_py = get_py_ver()
if sys_py < (3,8):
sys.stdout.write('\nError: Python >= 3.8 required, not %d.%d!' % (sys_py[0], sys_py[1]))
sys.stdout.write(f'\nError: Python >= 3.8 required, not {sys_py[0]}.{sys_py[1]}!')
if not is_auto_exit():
# noinspection PyUnresolvedReferences
@ -48,7 +48,7 @@ def check_sys_os():
os_tag,os_win,os_sup = get_os_ver()
if not os_sup:
printer('Error: Unsupported platform "%s"!' % os_tag)
printer(f'Error: Unsupported platform "{os_tag}"!')
if not is_auto_exit():
input('\nPress enter to exit')