Removed unnecessarily parentheses

pull/586/head
TonyJabbour 2021-10-06 11:11:10 +02:00
parent ddd2c81a97
commit 3c24c636f8
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ def verify_sources_list(sources):
all_sources = get_all_items_sources()
for source in 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
def get_all_items_metadata_dict(list_id):