X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/10f48e60a7f7499a6602098fc44298e05d05af50..1c64c03bd096ac6c92bee4361926611be3d22259:/apps/explorer/views.py?ds=sidebyside diff --git a/apps/explorer/views.py b/apps/explorer/views.py index 0c558fbf..251ad214 100644 --- a/apps/explorer/views.py +++ b/apps/explorer/views.py @@ -61,7 +61,6 @@ def file_list(request, repo): @with_repo def file_upload(request, repo): other_errors = [] - if request.method == 'POST': form = forms.BookUploadForm(request.POST, request.FILES) if form.is_valid():