Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
fix users offset in theme migration script
Browse files Browse the repository at this point in the history
  • Loading branch information
cvan committed Apr 9, 2013
1 parent d9d011f commit e89ef82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/addons/management/commands/import_personas_users.py
Expand Up @@ -83,7 +83,7 @@ def get_user_id(self, **kw):
return 0 return 0


def get_users(self, limit, offset): def get_users(self, limit, offset):
return self.users[offset:limit] return self.users[offset:][:limit]


def get_designers(self, author): def get_designers(self, author):
self.cursor.execute('SELECT id FROM personas WHERE author = %s', self.cursor.execute('SELECT id FROM personas WHERE author = %s',
Expand Down

0 comments on commit e89ef82

Please sign in to comment.