mirror of https://gitlab.com/pamhyr/pamhyr2
PEP8 fixes
parent
0b80b86d31
commit
a235f61044
|
|
@ -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