BIOSUtilities v24.10.18

Removed all Python built-in library keyword arguments (#55)
This commit is contained in:
Plato Mavropoulos 2024-10-18 13:37:52 +03:00
parent 010b5a47d4
commit 35455f735c
27 changed files with 228 additions and 229 deletions

View file

@ -65,8 +65,8 @@ def ms_pe_info_show(pe_file: pefile.PE, padding: int = 0) -> None:
if isinstance(pe_info, dict):
for title, value in pe_info.items():
info_title: str = title.decode(encoding='utf-8', errors='ignore').strip()
info_value: str = value.decode(encoding='utf-8', errors='ignore').strip()
info_title: str = title.decode('utf-8', 'ignore').strip()
info_value: str = value.decode('utf-8', 'ignore').strip()
if info_title and info_value:
printer(message=f'{info_title}: {info_value}', padding=padding, new_line=False)