-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Checks if groups is none before extending it
- Loading branch information
1 parent
2b61586
commit 0042ac2
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It seems to me that we should also check for
present_optgroups
#4173line 217 present_optgroups is initialized to None and not to an empty list so it is not an iterable.