Skip to content

Commit 5a1f0bd

Browse files
authored
Add files via upload
1 parent 59e8e42 commit 5a1f0bd

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

pyfoxfile.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -931,9 +931,6 @@ def ListDir(dirpath, followlink=False, duplicates=False, include_regex=None, exc
931931
Returns:
932932
list: A list of files and directories matching the criteria.
933933
"""
934-
if(re.findall("^(file):///", dirpath)):
935-
dparsed = urlparse(dirpath)
936-
dirpath = url2pathname(dparsed.path)
937934
try:
938935
if os.stat not in os.supports_follow_symlinks and followlink:
939936
followlink = False
@@ -1004,9 +1001,6 @@ def ListDirAdvanced(dirpath, followlink=False, duplicates=False, include_regex=N
10041001
Returns:
10051002
list: A list of files and directories matching the criteria.
10061003
"""
1007-
if(re.findall("^(file):///", dirpath)):
1008-
dparsed = urlparse(dirpath)
1009-
dirpath = url2pathname(dparsed.path)
10101004
try:
10111005
if os.stat not in os.supports_follow_symlinks and followlink:
10121006
followlink = False

0 commit comments

Comments
 (0)