mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
HS: Basic: Minor fixes.
This commit is contained in:
1 parent
f64ed131f9
commit
f37da68a67
2 files changed
+48
-45
No files matched your search
@@ -221,6 +221,7 @@ class Graph(object):
|
||||
def get_edge_id(self, reach):
|
||||
return next(
|
||||
filter(
|
||||
lambda e: e[1].id == reach.id, enumerate(self.enable_edges)
|
||||
)
|
||||
)[0]
|
||||
lambda e: e[1].id == reach.id,
|
||||
enumerate(self.enable_edges())
|
||||
)
|
||||
)[0]
|
||||
Reference in new issue
Block a user