diff options
Diffstat (limited to 'newspipe/controllers/feed.py')
-rw-r--r-- | newspipe/controllers/feed.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/newspipe/controllers/feed.py b/newspipe/controllers/feed.py index 72f9b180..513c5bd0 100644 --- a/newspipe/controllers/feed.py +++ b/newspipe/controllers/feed.py @@ -88,9 +88,7 @@ class FeedController(AbstractController): icon_contr.create(**{"url": attrs["icon_url"]}) def create(self, **attrs): - assert ( - 'link' in attrs - ), "A feed must have a link." + assert "link" in attrs, "A feed must have a link." self._ensure_icon(attrs) return super().create(**attrs) |