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 Mar 29, 2024
1 parent cf65100 commit 36e4117
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 @@ -1089,7 +1089,7 @@ def AppendFile(infile, fp, dirlistfromtxt=False, filevalues=[], extradata=[], fo
filetoinode = {};
inodetocatinode = {};
fnumfiles = int(len(GetDirList));
AppendFileHeader(fp, fnumfiles, checksumtype=, formatspecs);
AppendFileHeader(fp, fnumfiles, checksumtype, formatspecs);
fnumfiles = format(fnumfiles, 'x').lower();
for curfname in GetDirList:
catfhstart = catfp.tell();
Expand Down Expand Up @@ -1247,7 +1247,7 @@ def AppendFileToOutFile(infile, outfile, dirlistfromtxt=False, compression="auto
fbasename = os.path.splitext(outfile)[0];
fextname = os.path.splitext(outfile)[1];
catfp = CompressOpenFile(outfile, compressionlevel);
catfp = AppendFile(infile, catfp, dirlistfromtxt, filevalues, extradata, , followlink, checksumtype, formatspecs);
catfp = AppendFile(infile, catfp, dirlistfromtxt, filevalues, extradata, followlink, checksumtype, formatspecs);
if(outfile=="-" or hasattr(outfile, "read") or hasattr(outfile, "write")):
catfp = CompressArchiveFile(catfp, compression, formatspecs);
try:
Expand Down

0 comments on commit 36e4117

Please sign in to comment.