fix encoding issues on ls

This commit is contained in:
n1nj4sec 2023-01-19 10:13:53 +01:00
parent 1524cd2ed2
commit 45d8bb642e
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ def get_streams(filename):
if not NTFS_STREAMS_API_PRESENT:
return []
if type(filename) == str:
if type(filename) == bytes:
filename = filename.decode(
getfilesystemencoding())