mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-26 15:57:16 +00:00
Removed unnecessarily parentheses
This commit is contained in:
parent
ddd2c81a97
commit
3c24c636f8
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ def verify_sources_list(sources):
|
||||||
all_sources = get_all_items_sources()
|
all_sources = get_all_items_sources()
|
||||||
for source in sources:
|
for source in sources:
|
||||||
if source not in all_sources:
|
if source not in all_sources:
|
||||||
return ({'status': 'error', 'reason': 'Invalid source', 'value': source}, 400)
|
return {'status': 'error', 'reason': 'Invalid source', 'value': source}, 400
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def get_all_items_metadata_dict(list_id):
|
def get_all_items_metadata_dict(list_id):
|
||||||
|
|
Loading…
Reference in a new issue