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

Fix error with verbose offline compression and context generators #1092

Conversation

diox
Copy link
Member

@diox diox commented Dec 18, 2021

When COMPRESS_OFFLINE_CONTEXT is a generator we need to avoid calling len() on it to output the number of contexts in verbose mode.

Fixes #1091

When COMPRESS_OFFLINE_CONTEXT is a generator we need to avoid calling
len() on it to output the number of contexts in verbose mode.
@diox diox merged commit 95637d9 into django-compressor:develop Dec 18, 2021
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.

Offline compression breakage with COMPRESS_OFFLINE_CONTEXT as a generator
1 participant