Merge pull request 'only print names when listing existing users' (#105) from Mic92-mic92 into main
All checks were successful
build / test (push) Successful in 20s
All checks were successful
build / test (push) Successful in 20s
This commit is contained in:
commit
447f9ed95d
@ -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