diff options
Diffstat (limited to '.bin/get-mailbox-imap')
-rwxr-xr-x | .bin/get-mailbox-imap | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.bin/get-mailbox-imap b/.bin/get-mailbox-imap index fad7e21..713873e 100755 --- a/.bin/get-mailbox-imap +++ b/.bin/get-mailbox-imap @@ -16,7 +16,7 @@ def flatten_output(list): Print all boxes with a flattened output, primarily for neomutt usage. """ - print(''.join([f"+'{box}' " for box in list]), end=' ') + return ''.join([f"+'{box}' " for box in list]) def sort_boxes(bxs): @@ -70,7 +70,7 @@ def main(): bxs = sort_boxes(get_boxes(mail.list()[1])) # oneline pretty-print for neomutt - flatten_output(bxs) + print(flatten_output(bxs), end=' ') if __name__ == "__main__": |