From 8fc14d1328f46b0b85e304c9bb6526f8c58211a7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 24 Aug 2023 12:16:40 +0100 Subject: [PATCH] parens position --- shares.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shares.py b/shares.py index 2771e5b90..055af05ea 100644 --- a/shares.py +++ b/shares.py @@ -2234,7 +2234,7 @@ def _is_valueflows_attachment(attach_item: {}) -> bool: if isinstance(attach_item['rel'], list) and \ isinstance(attach_item['name'], str) and \ isinstance(attach_item['href'], str): - if len(attach_item['rel']) == 2 and len(attach_item['name'] > 1): + if len(attach_item['rel']) == 2 and len(attach_item['name']) > 1: if attach_item['rel'][0] == 'payment' and \ attach_item['rel'][1].endswith('/valueflows/Proposal'): return True