diff options
| author | Dennis Fink | 2020-12-10 22:37:13 +0100 |
|---|---|---|
| committer | Dennis Fink | 2020-12-10 22:37:13 +0100 |
| commit | 5294f1da8bd63cc5fde737baa64ca6820eed2d90 (patch) | |
| tree | 478493743664e8035c98473b0b43852f7e8dc77f | |
| parent | 664f424d76ef2134af9513ece11d08263cff4e24 (diff) | |
| download | patternutils-5294f1da8bd63cc5fde737baa64ca6820eed2d90.tar.gz patternutils-5294f1da8bd63cc5fde737baa64ca6820eed2d90.zip | |
Actually exit if feedparser is not installed
Diffstat (limited to '')
| -rw-r--r-- | patternutils/commands/prss.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/patternutils/commands/prss.py b/patternutils/commands/prss.py index fb429a3..ec97985 100644 --- a/patternutils/commands/prss.py +++ b/patternutils/commands/prss.py @@ -6,6 +6,7 @@ try: import feedparser # type: ignore except ImportError: click.secho("feedparser not installed!", fg="red", err=True) + raise SystemExit from .. import utils |
