Update builtin.py

This commit is contained in:
OusmBlueNinja 2023-08-26 21:26:25 -05:00
parent f72dd90f88
commit 2d2b60a704

View File

@ -94,9 +94,9 @@ def ll(args):
file_stat = entry.stat()
file_name = entry.name
pw = pwd.getpwuid(file_stat.st_uid)
gr = grp.getgrgid(file_stat.st_gid)
if os.name != 'nt':
pw = pwd.getpwuid(file_stat.st_uid)
gr = grp.getgrgid(file_stat.st_gid)
is_hidden = (file_name and file_name[0] == '.')