Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The ContentDiscoveryCommunity checks if (required) torrent_checker is None #7755

Closed
qstokkink opened this issue Dec 6, 2023 · 1 comment
Closed

Comments

@qstokkink
Copy link
Contributor

The content discovery component requires the torrent checker to be loaded:

torrent_checker_component = await self.require_component(TorrentCheckerComponent)

At the same time, the content discovery community has a lot of workarounds that check for a non-existent torrent checker:

if not self.composition.torrent_checker:
return []

Either the torrent checker should not be required or the checks should be removed. To stay in line with the status quo, we should probably remove the checks.

@qstokkink
Copy link
Contributor Author

The code that this issue refers to no longer exists and, therefore, this issue is no longer relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant