There was an error while loading. Please reload this page.
1 parent 3cd72bc commit 2d9cc03Copy full SHA for 2d9cc03
1 file changed
ietf/mailinglists/forms.py
@@ -52,7 +52,7 @@ def mail_type_fields(self):
52
return field.as_widget(field.field.widget)
53
def __init__(self, *args, **kwargs):
54
dname = 'ietf.org'
55
- if args:
+ if args and args[0]:
56
dn = 'domain_name'
57
if kwargs.has_key('prefix'):
58
dn = kwargs['prefix'] + '-' + dn
0 commit comments