Skip to content

Commit 05f7df2

Browse files
committed
Small update
1 parent ceaa386 commit 05f7df2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyneofile/pyneofile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8889,7 +8889,7 @@ def RePackNeoFile(infile, outfile, fmttype="auto", compression="auto", compressw
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 RePackNeoFile(infile, outfile, fmttype="auto", compression="auto", compressw
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)