mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Fix PEP8
This commit is contained in:
1 parent
a2461af084
commit
b1632eaea5
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