Skip to content

Doesn't immediately exit on dry run count #45

@hittjwX

Description

@hittjwX

When running python3 sidecar.py --rss-feed https://www.spreaker.com/show/3257924/episodes/feed --directory /workspaces/obsidian/ --update --dry-run --limit 2 the script doesn't exit after two.

It seems to continue looking for markdown episode sidecars to process. Then, when it finds them, it keeps going. Expected behavior is to STOP after reporting two.

The collection of eligible files could stop once the limit is reached. This way, only the limit loops happen as inputs for the discovery code.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions