summaryrefslogtreecommitdiff
path: root/tools/migrate_db.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/migrate_db.py')
-rwxr-xr-xtools/migrate_db.py2
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 ''