Unverified Commit b8a2e387 authored by AUTOMATIC1111's avatar AUTOMATIC1111 Committed by GitHub
Browse files

Merge pull request #4543 from tong-zeng/master

Fix a bug in list_files_with_name
parents e666220e 893191ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -140,7 +140,7 @@ def list_files_with_name(filename):
            continue

        path = os.path.join(dirpath, filename)
        if os.path.isfile(filename):
        if os.path.isfile(path):
            res.append(path)

    return res