Permalink
Browse files

fix users offset in theme migration script

  • Loading branch information...
1 parent d9d011f commit e89ef8297e67cb41d985f1f42fd1c2bfcff401db @cvan cvan committed Apr 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 apps/addons/management/commands/import_personas_users.py
@@ -83,7 +83,7 @@ def get_user_id(self, **kw):
return 0
def get_users(self, limit, offset):
- return self.users[offset:limit]
+ return self.users[offset:][:limit]
def get_designers(self, author):
self.cursor.execute('SELECT id FROM personas WHERE author = %s',

0 comments on commit e89ef82

Please sign in to comment.