python functions should not be camelCase

This commit is contained in:
j 2010-11-27 13:12:53 +01:00
commit ff9612a3f0
8 changed files with 46 additions and 45 deletions

View file

@ -28,7 +28,7 @@ import models
import utils
import tasks
from user.models import getUserJSON
from user.models import get_user_json
from archive.models import File
from archive import extract
@ -309,7 +309,7 @@ def api_setPoster(request): #parse path and return info
if item.poster:
item.poster.delete()
item.save()
tasks.updatePoster.delay(item.itemId)
tasks.update_poster.delay(item.itemId)
response = json_response(status=200, text='ok')
response['data']['poster'] = item.get_poster()
else: