diff --git a/jrnl/plugins/calendar_heatmap_exporter.py b/jrnl/plugins/calendar_heatmap_exporter.py index e7d5c404..53061d58 100644 --- a/jrnl/plugins/calendar_heatmap_exporter.py +++ b/jrnl/plugins/calendar_heatmap_exporter.py @@ -12,11 +12,11 @@ from rich.console import Console from rich.table import Table from rich.text import Text -from jrnl.datatypes import NestedDict from jrnl.plugins.text_exporter import TextExporter from jrnl.plugins.util import get_journal_frequency_as_dict if TYPE_CHECKING: + from jrnl.datatypes import NestedDict from jrnl.journals import Entry from jrnl.journals import Journal diff --git a/jrnl/plugins/dates_exporter.py b/jrnl/plugins/dates_exporter.py index 090d70a5..6a20170b 100644 --- a/jrnl/plugins/dates_exporter.py +++ b/jrnl/plugins/dates_exporter.py @@ -1,7 +1,6 @@ # Copyright © 2012-2023 jrnl contributors # License: https://www.gnu.org/licenses/gpl-3.0.html -from collections import Counter from typing import TYPE_CHECKING from jrnl.plugins.text_exporter import TextExporter