leaf-dirs: fix spurious newline at the end of output
This commit is contained in:
parent
0348fb18d6
commit
da8de63bca
1 changed files with 1 additions and 1 deletions
|
@ -38,4 +38,4 @@ if __name__ == "__main__":
|
||||||
random.shuffle(outdirs)
|
random.shuffle(outdirs)
|
||||||
|
|
||||||
sep = "\0" if args.null else "\n"
|
sep = "\0" if args.null else "\n"
|
||||||
print(sep.join(outdirs))
|
print(sep.join(outdirs), end="" if args.null else "\n")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue