diff options
| author | root <root@lalalizard.com> | 2012-12-09 14:15:12 -0500 |
|---|---|---|
| committer | root <root@lalalizard.com> | 2012-12-09 14:15:12 -0500 |
| commit | e533b6b3507d73e3c0267c02bdfddf8320277e93 (patch) | |
| tree | e1af02436ce4442ad25a449b6c4e57c09b523c1b | |
| parent | b0a477245cc86525033749fe4dcd098076b49ab7 (diff) | |
Migrate tool user import fix
| -rwxr-xr-x | tools/migrate_db.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/migrate_db.py b/tools/migrate_db.py index 70918c2..dc07717 100755 --- a/tools/migrate_db.py +++ b/tools/migrate_db.py @@ -116,7 +116,7 @@ if __name__ == '__main__': user.last_login = datetime.fromtimestamp(row['seendate']) user.save() - user_profile.nickname = row['nickname'] or '' + user_profile.nickname = row['username'] or '' #fixed user_profile.score = row['score'] user_profile.access = row['access'] user_profile.bio = row['bio'] or '' |
