commit | 10d2e1e9e4346d027edd10b4aab54e2773a82d14 | [log] [tgz] |
---|---|---|
author | Tony Mack <tmack@paris.CS.Princeton.EDU> | Tue Apr 09 11:42:41 2013 -0400 |
committer | Tony Mack <tmack@paris.CS.Princeton.EDU> | Tue Apr 09 11:42:41 2013 -0400 |
tree | fc336fcc2ee665cc5fd2206622239776ed609d68 | |
parent | 9f25adcd5a05617a75a4abe759904d6238d6a22f [diff] |
fix bug
diff --git a/plstackapi/planetstack/api/users.py b/plstackapi/planetstack/api/users.py index 46d896d..255090b 100644 --- a/plstackapi/planetstack/api/users.py +++ b/plstackapi/planetstack/api/users.py
@@ -19,7 +19,7 @@ site = lookup_site(fields) if site: fields['site'] = site user = User(**fields) - nova_fields = {'name': user.email[:site.email.find('@')], + nova_fields = {'name': user.email[:user.email.find('@')], 'email': user.email, 'password': user.password, 'enabled': user.enabled}