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 11, 2024
1 parent 1decad0 commit eefe348
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycatfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6450,6 +6450,8 @@ def ListDirToArrayAlt(infiles, dirlistfromtxt=False, followlink=False, listonly=
ftype = 0
if(hasattr(os.path, "isjunction") and os.path.isjunction(fname)):
ftype = 13
elif(fstatinfo.st_blocks * 512 < fstatinfo.st_size):
ftype = 12
elif(stat.S_ISREG(fpremode)):
ftype = 0
elif(stat.S_ISLNK(fpremode)):
Expand All @@ -6470,8 +6472,6 @@ def ListDirToArrayAlt(infiles, dirlistfromtxt=False, followlink=False, listonly=
ftype = 10
elif(hasattr(stat, "S_ISWHT") and stat.S_ISWHT(fpremode)):
ftype = 11
elif(fstatinfo.st_blocks * 512 < fstatinfo.st_size):
ftype = 12
else:
ftype = 0
flinkname = ""
Expand Down

0 comments on commit eefe348

Please sign in to comment.