Skip to content

Commit cce8322

Browse files
author
Kazuki Suzuki Przyborowski
committed
Update pyarchivefile.py
1 parent 51d11be commit cce8322

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pyarchivefile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2088,6 +2088,7 @@ def ReadFileHeaderDataWithContent(fp, listonly=False, uncompress=True, skipcheck
20882088
fjsonsize = int(HeaderOut[27], 16)
20892089
fjsoncontent = {}
20902090
fprejsoncontent = fp.read(fjsonsize).decode("UTF-8")
2091+
print(fprejsoncontent)
20912092
if(fjsonsize > 0):
20922093
try:
20932094
fjsoncontent = json.loads(base64.b64decode(fprejsoncontent).decode("UTF-8"))
@@ -2287,7 +2288,7 @@ def ReadFileHeaderDataWithContentToArray(fp, listonly=False, contentasfile=True,
22872288
fcontents.seek(0, 0)
22882289
fccs = GetFileChecksum(
22892290
fcontents.read(), HeaderOut[-3].lower(), False, formatspecs)
2290-
fcontentend = fp.tell() - 1
2291+
fcontentend = fp.tell()
22912292
if(re.findall("^\\+([0-9]+)", fseeknextfile)):
22922293
fseeknextasnum = int(fseeknextfile.replace("+", ""))
22932294
if(abs(fseeknextasnum) == 0):

0 commit comments

Comments
 (0)