only print names when listing existing users
All checks were successful
build / test (pull_request) Successful in 16s
All checks were successful
build / test (pull_request) Successful in 16s
This commit is contained in:
parent
504adb4f6d
commit
5ee620b77b
@ -53,7 +53,7 @@ def list_directory(directory: Path) -> str:
|
||||
return "{directory} does not exist"
|
||||
msg = f"\n{directory} contains:"
|
||||
for f in directory.iterdir():
|
||||
msg += f"\n {f}"
|
||||
msg += f"\n {f.name}"
|
||||
return msg
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user