mirror of
https://github.com/platomav/BIOSUtilities.git
synced 2025-05-13 06:34:42 -04:00
BIOSUtilities v24.10.18
Removed all Python built-in library keyword arguments (#55)
This commit is contained in:
parent
010b5a47d4
commit
35455f735c
27 changed files with 228 additions and 229 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue