mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 04:58:32 +02:00
Remove unnecessary datecount export condition
This commit is contained in:
parent
0eb20e45bf
commit
7cd961d452
1 changed files with 0 additions and 2 deletions
|
@ -21,7 +21,5 @@ class DatecountExporter(TextExporter):
|
|||
def export_journal(cls, journal):
|
||||
"""Returns dates and their frequencies for an entire journal."""
|
||||
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())
|
||||
return result
|
||||
|
|
Loading…
Add table
Reference in a new issue