Skip to content

Commit

Permalink
Update pycatfile.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KazukiPrzyborowski committed Dec 23, 2024
1 parent 6897484 commit e73f4f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pycatfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -8502,6 +8502,7 @@ def ZipFileListFiles(infile, verbose=False, returnfp=False):
if(ziptest):
VerbosePrintOut("Bad file found!")
for member in sorted(zipfp.infolist(), key=lambda x: x.filename):
zipinfo = zipfp.getinfo(member.filename)
if(zipinfo.create_system == 0 or zipinfo.create_system == 10):
fwinattributes = int(zipinfo.external_attr)
if(not member.is_dir()):
Expand Down

0 comments on commit e73f4f2

Please sign in to comment.