Skip to content

Commit 615438b

Browse files
committed
Small update
1 parent f68a2cd commit 615438b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyarchivefile/pyarchivefile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8889,7 +8889,7 @@ def RePackArchiveFile(infile, outfile, fmttype="auto", compression="auto", compr
88898889
if lenlist != fnumfiles:
88908890
fnumfiles = lenlist
88918891

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

88948894
# loop counters
88958895
lcfi = 0
@@ -9115,7 +9115,7 @@ def RePackArchiveFile(infile, outfile, fmttype="auto", compression="auto", compr
91159115
if(fvendorfields>0 and len(ffvendorfieldslist)>0):
91169116
extradata.extend(fvendorfields)
91179117

9118-
AppendFileHeaderWithContent(fp, tmpoutlist, extradata, jsondata, fcontents.read(),[checksumtype[2], checksumtype[3], checksumtype[4]], formatspecs, outsaltkey)
9118+
AppendFileHeaderWithContent(fp, fmttype, tmpoutlist, extradata, jsondata, fcontents.read(),[checksumtype[2], checksumtype[3], checksumtype[4]], formatspecs, outsaltkey)
91199119
try:
91209120
fcontents.close()
91219121
except Exception:

0 commit comments

Comments
 (0)