diff --git a/jrnl/journals/FolderJournal.py b/jrnl/journals/FolderJournal.py index e1dd7977..188e090e 100644 --- a/jrnl/journals/FolderJournal.py +++ b/jrnl/journals/FolderJournal.py @@ -137,7 +137,7 @@ class Folder(Journal): for child in path.iterdir(): if ( child.stem in Folder.DAY_FILE_STEMS - and child.suffix.lower() == ".txt" + and child.match("*.txt") and child.is_file() ): yield str(child)