Skip to content

Commit

Permalink
Don't require RESEARCH_FILES_ROOT to be set
Browse files Browse the repository at this point in the history
  • Loading branch information
gthole committed Oct 15, 2014
1 parent 5846475 commit 474d452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def site_context(request):
show_blog = BlogPost.objects.exists()
show_documentaries = Documentary.objects.exists()
show_researchfiles = isinstance(
getattr(settings, 'RESEARCH_FILES_ROOT'),
getattr(settings, 'RESEARCH_FILES_ROOT', None),
basestring
)
show_file_uploads = getattr(
Expand Down

0 comments on commit 474d452

Please sign in to comment.