mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-29 19:10:42 +01:00
PEP8 fixes
This commit is contained in:
1 parent
0b80b86d31
commit
a235f61044
1 file changed
+2
-1
+2
-1
@@ -546,7 +546,8 @@ class Study(SQLModel):
|
|||||||
self.status.scenario = scenario
|
self.status.scenario = scenario
|
||||||
|
|
||||||
if reduce(
|
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,
|
self.scenarios.lst,
|
||||||
False
|
False
|
||||||
):
|
):
|
||||||
|
|||||||
Reference in new issue
Block a user