diff --git a/bin/lib/item_basic.py b/bin/lib/item_basic.py index f9a49260..fdc6587d 100755 --- a/bin/lib/item_basic.py +++ b/bin/lib/item_basic.py @@ -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):