Skip to content
Snippets Groups Projects
Commit e89ca7f0 authored by Julian's avatar Julian
Browse files

Fix if statement inside collection_allowed

parent 5c18e15c
No related branches found
No related tags found
1 merge request!6Resolve "Export django model choices for icons"
......@@ -30,7 +30,7 @@ def collection_allowed(collection: str) -> bool:
if collection in COLLECTIONS_DISALLOWED:
return False
if COLLECTIONS_ALLOWED and collection not in COLLECTIONS_DISALLOWED:
if COLLECTIONS_ALLOWED and collection not in COLLECTIONS_ALLOWED:
return False
return True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment