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

Fixed listening with --channels argument #80

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

valericus
Copy link
Contributor

@valericus valericus commented Sep 6, 2024

I tried to run ./manage.py listen --channles my.fancy.Channel and faced with a couple of issues.

At first, there was a TypeError caused by missed order of arguments.

TypeError: isinstance() arg 2 must be a type, a tuple of types, or a union

When I've changed that order, another issue has risen, caused by missing argument for spawn mode.

manage.py listen: error: unrecognized arguments: my.fancy.Channel

So here is a fix for both issues.

@valericus valericus changed the title Fixed listening with --channels argument Fixed listening with --channels argument Sep 6, 2024
@PaulGilmartin PaulGilmartin merged commit 20bdb65 into PaulGilmartin:master Sep 9, 2024
1 check passed
@PaulGilmartin
Copy link
Owner

@valericus Thank you for your contribution to this library!

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

Successfully merging this pull request may close these issues.

2 participants