mirror of https://gitlab.com/pamhyr/pamhyr2
Fix PEP8
parent
a2461af084
commit
b1632eaea5
|
|
@ -546,7 +546,8 @@ class Study(SQLModel):
|
|||
self.status.scenario = scenario
|
||||
|
||||
if reduce(
|
||||
lambda a, s: a or (s.parent is scenario and not s.is_deleted()),
|
||||
lambda a, s: a or (s.parent is scenario
|
||||
and not s.is_deleted()),
|
||||
self.scenarios.lst,
|
||||
False
|
||||
):
|
||||
|
|
|
|||
Loading…
Reference in New Issue