Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Merge pull request #269 from alphagov/always_add_a_default_upload_filter
Browse files Browse the repository at this point in the history
Better check for upload_filters
  • Loading branch information
nick-gravgaard committed Apr 24, 2014
2 parents 82c7a26 + a0cf1be commit 29efdb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backdrop/core/data_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def __new__(cls, name, data_group, data_type, raw_queries_allowed=False,
if not data_set_is_valid(name):
raise ValueError("DataSet name is not valid: '{}'".format(name))

if upload_filters is None:
if not upload_filters:
upload_filters = [
"backdrop.core.upload.filters.first_sheet_filter"]

Expand Down

0 comments on commit 29efdb5

Please sign in to comment.