Skip to content

Commit 8f6cd1c

Browse files
authored
Add files via upload
1 parent 56ff7a7 commit 8f6cd1c

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

pyfoxfile.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5931,6 +5931,15 @@ def AppendFilesWithContent(infiles, fp, dirlistfromtxt=False, extradata=[], json
59315931
FullSizeFilesAlt += fstatinfo.st_rsize
59325932
except AttributeError:
59335933
FullSizeFilesAlt += fstatinfo.st_size
5934+
fblksize = 0
5935+
fblocks = 0
5936+
fflags = 0
5937+
if(hasattr(fstatinfo, "st_blksize")):
5938+
fblksize = int(fstatinfo.st_blksize)
5939+
if(hasattr(fstatinfo, "st_blocks")):
5940+
fblocks = int(fstatinfo.st_blocks)
5941+
if(hasattr(fstatinfo, "st_flags")):
5942+
fflags = int(fstatinfo.st_flags)
59345943
ftype = 0
59355944
if(hasattr(os.path, "isjunction") and os.path.isjunction(fname)):
59365945
ftype = 13

0 commit comments

Comments
 (0)