From 15f359f8dc0e2985d188db9355e89504b5f7206f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 22 Aug 2023 22:02:02 +0100 Subject: [PATCH] Invert logic --- shares.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shares.py b/shares.py index bf9dea91f..a7feb1b29 100644 --- a/shares.py +++ b/shares.py @@ -2153,7 +2153,7 @@ def add_shares_to_actor(base_dir: str, new_attachment = [] for attach_item in actor_json['attachment']: is_proposal = False - if 'rel' not in attach_item: + if 'rel' in attach_item: if isinstance(attach_item['rel'], list): if len(attach_item['rel']) == 2: if attach_item['rel'][0] == 'payment' and \