Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
KazukiPrzyborowski authored Apr 9, 2024
1 parent b27a094 commit a815e01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pycatfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,7 @@ def AppendFilesWithContent(infiles, fp, dirlistfromtxt=False, filevalues=[], ext
ftype = 1;
flinkname = inodetofile[finode];
fcurinode = format(int(inodetocatinode[finode]), 'x').lower();
if(finode not in inodelist):
elif(finode not in inodelist):
inodelist.append(finode);
inodetofile.update({finode: fname});
inodetocatinode.update({finode: curinode});
Expand Down Expand Up @@ -2376,7 +2376,7 @@ def PackArchiveFile(infiles, outfile, dirlistfromtxt=False, compression="auto",
ftype = 1;
flinkname = inodetofile[finode];
fcurinode = format(int(inodetocatinode[finode]), 'x').lower();
if(finode not in inodelist):
elif(finode not in inodelist):
inodelist.append(finode);
inodetofile.update({finode: fname});
inodetocatinode.update({finode: curinode});
Expand Down Expand Up @@ -4794,7 +4794,7 @@ def ListDirToArrayAlt(infiles, dirlistfromtxt=False, followlink=False, listonly=
ftype = 1;
flinkname = inodetofile[finode];
fcurinode = inodetocatinode[finode];
if(finode not in inodelist):
elif(finode not in inodelist):
inodelist.append(finode);
inodetofile.update({finode: fname});
inodetocatinode.update({finode: curinode});
Expand Down

0 comments on commit a815e01

Please sign in to comment.