Skip to content

Commit

Permalink
Adding fallback to old naming. (x2)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkelley committed Mar 28, 2019
1 parent 9dcaaf5 commit f076c98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repokid/filters/blocklist/__init__.py
Expand Up @@ -34,7 +34,7 @@ def get_blocklist_from_bucket(bucket_config):
class BlocklistFilter(Filter):
def __init__(self, config=None):
blocklist_json = None
bucket_config = config.get('blocklist_bucket', None)
bucket_config = config.get('blocklist_bucket', config.get('blacklist_bucket', None))
if bucket_config:
blocklist_json = get_blocklist_from_bucket(bucket_config)

Expand Down

0 comments on commit f076c98

Please sign in to comment.