You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ixxy_url_field/choice_with_other.py
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -63,9 +63,5 @@ def compress(self, value):
63
63
ifnotvalue:
64
64
return''
65
65
66
-
returnvalue[1] #Only ever take the value from the text field. The select menu is now just a way to correctly fill in the text field.
67
-
#if force_unicode(value[0]) == OTHER_CHOICE:
68
-
# return value[1]
69
-
#else:
70
-
# return value[0]
66
+
returnvalue[1] #value[0] is ignored. Only ever take the value from the text field. The select menu is now just a way to correctly fill in the text field.
0 commit comments