Skip to content

Commit c79752c

Browse files
committed
Small update
1 parent e39dea6 commit c79752c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pyarchivefile/pyarchivefile.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5859,6 +5859,8 @@ def AppendFilesWithContentFromInFile(infile, fp, listtype="dir", extradata=[], j
58595859
GetDirList = AppendFilesWithContentFromRarFileToList(infile, extradata, jsondata, False, compression, compresswholefile, compressionlevel, compressionuselist, [checksumtype[2], checksumtype[3], checksumtype[3]], formatspecs, saltkey, verbose)
58605860
elif(listtype.lower()=="7zip"):
58615861
GetDirList = AppendFilesWithContentFromSevenZipFileToList(infile, extradata, jsondata, False, compression, compresswholefile, compressionlevel, compressionuselist, [checksumtype[2], checksumtype[3], checksumtype[3]], formatspecs, saltkey, verbose)
5862+
elif(listtype.lower()=="infile"):
5863+
GetDirList = AppendReadInFileWithContentToList(infile, extradata, jsondata, False, compression, compresswholefile, compressionlevel, compressionuselist, [checksumtype[2], checksumtype[3], checksumtype[3]], formatspecs, saltkey, verbose)
58625864
else:
58635865
GetDirList = AppendFilesWithContentToList(infile, extradata, jsondata, False, compression, compresswholefile, compressionlevel, compressionuselist, [checksumtype[2], checksumtype[3], checksumtype[3]], formatspecs, saltkey, verbose)
58645866
numfiles = int(len(GetDirList))

0 commit comments

Comments
 (0)