stdpy: Fix glob not finding files in VFS

Half of fix to #1675
This commit is contained in:
rdb 2024-10-24 16:10:35 +02:00
parent 42e2659636
commit b022fc9301
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ def glob1(dirname, pattern):
dirname = unicode(dirname, sys.getfilesystemencoding() or
sys.getdefaultencoding())
try:
names = os.listdir(dirname)
names = file.listdir(dirname)
except os.error:
return []
if pattern[0] != '.':