From 3c24c636f84064504731e205fe2488fab209b039 Mon Sep 17 00:00:00 2001 From: TonyJabbour Date: Wed, 6 Oct 2021 11:11:10 +0200 Subject: [PATCH] Removed unnecessarily parentheses --- bin/lib/item_basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):