This commit is contained in:
Roberto Rosario
2012-01-25 21:51:35 -04:00
parent 376a31db96
commit 8aa56dc11c

View File

@@ -206,7 +206,7 @@ def upload_interactive(request, source_type=None, source_id=None, document_pk=No
expand = False expand = False
else: else:
if staging_folder.uncompress == SOURCE_UNCOMPRESS_CHOICE_ASK: if staging_folder.uncompress == SOURCE_UNCOMPRESS_CHOICE_ASK:
expand = form.cleaned_dataget('expand') expand = form.cleaned_data.get('expand')
else: else:
if staging_folder.uncompress == SOURCE_UNCOMPRESS_CHOICE_Y: if staging_folder.uncompress == SOURCE_UNCOMPRESS_CHOICE_Y:
expand = True expand = True