Skip to content

Commit 44e7a01

Browse files
committed
Added line break between datasets in final summary ↞ [auto-sync from https://github.com/adamlui/python-utils/tree/main/translate-messages]
1 parent 72c724f commit 44e7a01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

translate-messages/lib/log.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
terminal_width = 80
88

99
def final_summary(summary_dict):
10-
trunc('\nAll JSON files updated successfully!\n\n')
10+
trunc('\nAll JSON files updated successfully!\n')
1111
for name, lang_set in summary_dict.items():
1212
if lang_set:
1313
status = name.replace('_', ' ')
14-
print(f'Languages {status}: {len(lang_set)}')
14+
print(f'\nLanguages {status}: {len(lang_set)}')
1515
print(f"[ {', '.join(lang_set)} ]")
1616

1717
def overwrite_print(msg) : stdout.write('\r' + msg.ljust(terminal_width)[:terminal_width])

0 commit comments

Comments
 (0)