Skip to content

Commit

Permalink
Use get_from_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
tpwo committed Nov 7, 2023
1 parent 135afca commit 4b1e7ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyzet/zettel.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def get_all(path: Path, is_reversed: bool = False) -> list[Zettel]:
for item in sorted(path.iterdir(), reverse=is_reversed):
if item.is_dir():
try:
items.append(get_zettel(item))
items.append(get_from_dir(item))
logging.debug(
f"get_zettels: zettel appended '{item.absolute()}'"
)
Expand Down

0 comments on commit 4b1e7ff

Please sign in to comment.