@@ -3137,6 +3137,8 @@ def AppendFilesWithContent(infiles, fp, dirlistfromtxt=False, filevalues=[], ext
31373137 followlink = False
31383138 if (advancedlist ):
31393139 GetDirList = ListDirAdvanced (infilelist , followlink , False )
3140+ elif (advancedlist is None ):
3141+ GetDirList = infilelist
31403142 else :
31413143 GetDirList = ListDir (infilelist , followlink , False )
31423144 if (not isinstance (infiles , (list , tuple , ))):
@@ -4360,6 +4362,8 @@ def PackArchiveFile(infiles, outfile, dirlistfromtxt=False, compression="auto",
43604362 followlink = False
43614363 if (advancedlist ):
43624364 GetDirList = ListDirAdvanced (infilelist , followlink , False )
4365+ elif (advancedlist is None ):
4366+ GetDirList = infilelist
43634367 else :
43644368 GetDirList = ListDir (infilelist , followlink , False )
43654369 if (not isinstance (infiles , (list , tuple , ))):
@@ -7167,6 +7171,8 @@ def ListDirToArrayAlt(infiles, dirlistfromtxt=False, followlink=False, listonly=
71677171 followlink = False
71687172 if (advancedlist ):
71697173 GetDirList = ListDirAdvanced (infilelist , followlink , False )
7174+ elif (advancedlist is None ):
7175+ GetDirList = infilelist
71707176 else :
71717177 GetDirList = ListDir (infilelist , followlink , False )
71727178 if (not isinstance (infiles , (list , tuple , ))):
0 commit comments