lots of stuff
This commit is contained in:
parent
c0cab079bc
commit
feddea0ccd
24 changed files with 1385 additions and 226 deletions
|
|
@ -189,11 +189,10 @@ def addListItems(data):
|
|||
'''
|
||||
if data['list'] == ':':
|
||||
from item.models import Item
|
||||
user = state.user()
|
||||
for item_id in data['items']:
|
||||
i = Item.get(item_id)
|
||||
if user not in i.users:
|
||||
i.queue_download()
|
||||
i.queue_download()
|
||||
i.update()
|
||||
elif data['list']:
|
||||
l = models.List.get_or_create(data['list'])
|
||||
if l:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue