From 8aa56dc11c57b69e403ab9eba22950b9f516c912 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Wed, 25 Jan 2012 21:51:35 -0400 Subject: [PATCH] Fix typo --- apps/sources/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sources/views.py b/apps/sources/views.py index f116dfad64..6f574fe75f 100644 --- a/apps/sources/views.py +++ b/apps/sources/views.py @@ -206,7 +206,7 @@ def upload_interactive(request, source_type=None, source_id=None, document_pk=No expand = False else: if staging_folder.uncompress == SOURCE_UNCOMPRESS_CHOICE_ASK: - expand = form.cleaned_dataget('expand') + expand = form.cleaned_data.get('expand') else: if staging_folder.uncompress == SOURCE_UNCOMPRESS_CHOICE_Y: expand = True