mirror of https://gitlab.com/bashrc2/epicyon
parens position
parent
623096d91a
commit
8fc14d1328
|
@ -2234,7 +2234,7 @@ def _is_valueflows_attachment(attach_item: {}) -> bool:
|
||||||
if isinstance(attach_item['rel'], list) and \
|
if isinstance(attach_item['rel'], list) and \
|
||||||
isinstance(attach_item['name'], str) and \
|
isinstance(attach_item['name'], str) and \
|
||||||
isinstance(attach_item['href'], str):
|
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 \
|
if attach_item['rel'][0] == 'payment' and \
|
||||||
attach_item['rel'][1].endswith('/valueflows/Proposal'):
|
attach_item['rel'][1].endswith('/valueflows/Proposal'):
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue