Skip to content

Commit

Permalink
Update catfile.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KazukiPrzyborowski committed Jan 24, 2025
1 parent 15c99c4 commit 7375910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ def handler(signum, frame):
fnamehex = __file_format_hex__
else:
fnamemagic = fname
__file_format_default__ = fnamemagic
fnamelen = len(fname)
fnamehex = binascii.hexlify(fname.encode("UTF-8")).decode("UTF-8")
__file_format_default__ = fnamemagic
fnamesty = __use_new_style__
fnamelst = __use_advanced_list__
fnameino = __use_alt_inode__
Expand Down

0 comments on commit 7375910

Please sign in to comment.