Skip to content

Commit 90a0356

Browse files
committed
Small update
1 parent 0605713 commit 90a0356

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pyarchivefile/pyfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7989,7 +7989,7 @@ def ArchiveFileValidate(infile, fmttype="auto", filestart=0, formatspecs=__file_
79897989
infile = RemoveWindowsPath(infile)
79907990
listarrayfileslist = ArchiveFileToArray(
79917991
infile, fmttype, filestart, 0, 0,
7992-
False, False, True, True, formatspecs, saltkey, seektoend, returnfp
7992+
False, True, False, True, formatspecs, saltkey, seektoend, returnfp
79937993
)
79947994
for listarrayfiles in listarrayfileslist:
79957995
fp = listarrayfiles['fp']
@@ -8112,6 +8112,7 @@ def ArchiveFileValidate(infile, fmttype="auto", filestart=0, formatspecs=__file_
81128112
pyhascontents = False
81138113
if(outfsize > 0):
81148114
outfcontents = cur_entry['fcontents']
8115+
outfcontents.seek(0, 0)
81158116
infccs = GetFileChecksum(outfcontents, inheaderdata[-3].lower(), False, formatspecs, saltkey)
81168117
pyhascontents = True
81178118
if(CheckChecksums(outfccs, infccs)):

0 commit comments

Comments
 (0)