typos
This commit is contained in:
parent
7e9cc878dd
commit
e56ac00a84
2 changed files with 2 additions and 2 deletions
|
|
@ -350,7 +350,7 @@ def moveMedia(request):
|
|||
if Item.objects.filter(itemId=data['item']).count() == 1:
|
||||
i = Item.objects.get(itemId=data['item'])
|
||||
else:
|
||||
data['itemId'] = data['item'].pop().strip()
|
||||
data['itemId'] = data.pop('item').strip()
|
||||
if len(data['itemId']) != 7:
|
||||
del data['itemId']
|
||||
if 'director' in data and isinstance(data['director'], basestring):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue