Skip to content

Commit 1d7ca2c

Browse files
committed
Small update
1 parent 2b8dbd4 commit 1d7ca2c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pycatfile/pycatfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8895,7 +8895,7 @@ def RePackCatFile(infile, outfile, fmttype="auto", compression="auto", compressw
88958895
if lenlist != fnumfiles:
88968896
fnumfiles = lenlist
88978897

8898-
AppendFileHeader(fp, fnumfiles, listarrayfiles.get('fencoding', 'utf-8'), listarrayfiles['fextradata'], listarrayfiles['fjsondata'], [checksumtype[0], checksumtype[1]], formatspecs, outsaltkey)
8898+
AppendFileHeader(fp, fmttype, fnumfiles, listarrayfiles.get('fencoding', 'utf-8'), listarrayfiles['fextradata'], listarrayfiles['fjsondata'], [checksumtype[0], checksumtype[1]], formatspecs, outsaltkey)
88998899

89008900
# loop counters
89018901
lcfi = 0
@@ -9121,7 +9121,7 @@ def RePackCatFile(infile, outfile, fmttype="auto", compression="auto", compressw
91219121
if(fvendorfields>0 and len(ffvendorfieldslist)>0):
91229122
extradata.extend(fvendorfields)
91239123

9124-
AppendFileHeaderWithContent(fp, tmpoutlist, extradata, jsondata, fcontents.read(),[checksumtype[2], checksumtype[3], checksumtype[4]], formatspecs, outsaltkey)
9124+
AppendFileHeaderWithContent(fp, fmttype, tmpoutlist, extradata, jsondata, fcontents.read(),[checksumtype[2], checksumtype[3], checksumtype[4]], formatspecs, outsaltkey)
91259125
try:
91269126
fcontents.close()
91279127
except Exception:

0 commit comments

Comments
 (0)