@@ -253,7 +253,7 @@ def DJANGO_FILE_UPLOAD_CALLBACK_FUNC(request, file_path=None, file_url=None): |
||
| 253 | 253 |
app_version=version, |
| 254 | 254 |
) |
| 255 | 255 |
|
| 256 |
- elif file_type == 'contribution': |
|
| 256 |
+ elif 'contribution' in file_type: |
|
| 257 | 257 |
width = request.POST.get('width', '')
|
| 258 | 258 |
height = request.POST.get('height', 0)
|
| 259 | 259 |
file = request.FILES.get('file', '')
|