Skip to content

Commit bd071ba

Browse files
authored
Add files via upload
1 parent f7b90ba commit bd071ba

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

pyfoxfile.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5934,10 +5934,11 @@ def AppendFilesWithContent(infiles, fp, dirlistfromtxt=False, extradata=[], json
59345934
ftype = 0
59355935
if(hasattr(os.path, "isjunction") and os.path.isjunction(fname)):
59365936
ftype = 13
5937-
elif(hasattr(fstatinfo, "st_blocks") and fstatinfo.st_blocks * 512 < fstatinfo.st_size):
5938-
ftype = 12
59395937
elif(stat.S_ISREG(fpremode)):
5940-
ftype = 0
5938+
if(hasattr(fstatinfo, "st_blocks") and fstatinfo.st_blocks * 512 < fstatinfo.st_size):
5939+
ftype = 12
5940+
else:
5941+
ftype = 0
59415942
elif(stat.S_ISLNK(fpremode)):
59425943
ftype = 2
59435944
elif(stat.S_ISCHR(fpremode)):

0 commit comments

Comments
 (0)