Show More
@@ -191,7 +191,7 b' def select(name, selected_values, option' | |||
|
191 | 191 | option_group = options.add_optgroup(label) |
|
192 | 192 | for opt2 in value: |
|
193 | 193 | if isinstance(opt2, tuple) and len(opt2) == 2: |
|
194 | group_value, group_label = opt | |
|
194 | group_value, group_label = opt2 | |
|
195 | 195 | elif isinstance(opt2, basestring): |
|
196 | 196 | group_value = group_label = opt2 |
|
197 | 197 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now