mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
pamhyr: Fix pep8.
This commit is contained in:
1 parent
328f5656bf
commit
5525fff1fe
7 files changed
+18
-11
No files matched your search
@@ -75,6 +75,7 @@ class Friction(SQLSubModel):
|
||||
cls._db_update_to_0_1_0(execute, data)
|
||||
|
||||
return cls._update_submodel(execute, version, data)
|
||||
|
||||
@classmethod
|
||||
def _db_update_to_0_1_0(cls, execute, data):
|
||||
table = "friction"
|
||||
@@ -125,7 +126,8 @@ class Friction(SQLSubModel):
|
||||
if int(begin_strickler_pid) != -1:
|
||||
begin_strickler = next(
|
||||
filter(
|
||||
lambda s: s.pamhyr_id == begin_strickler_pid, stricklers
|
||||
lambda s: s.pamhyr_id == begin_strickler_pid,
|
||||
stricklers
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user