Update datecount format

This commit is contained in:
karimpwnz 2021-01-04 02:52:55 +02:00
parent 65e48c3c47
commit 37fc6c7465

View file

@ -23,5 +23,5 @@ class DatecountExporter(TextExporter):
date_counts = get_date_counts(journal)
if not date_counts:
return "[No dates found in journal.]"
result = "\n".join(f"{date} {count}" for date, count in date_counts.items())
result = "\n".join(f"{date}, {count}" for date, count in date_counts.items())
return result