Skip to content

Commit

Permalink
Corrected display of binary versions in file identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
akenion committed Jul 31, 2024
1 parent 20139ea commit d0767a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wordfence/wordpress/identifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ def __str__(self) -> str:
else:
software = self.extension.get_name()
version = self.extension.version
if isinstance(version, bytes):
version = version.decode('ascii')
return (
os.fsdecode(self.local_path) +
f' of {self.type.value} {software} ({version})'
Expand Down

0 comments on commit d0767a2

Please sign in to comment.