Fix error from pre-commit suggestion
This commit is contained in:
parent
897d6ddbe8
commit
45b0cafa2b
1 changed files with 2 additions and 2 deletions
|
|
@ -745,8 +745,8 @@ class Shell:
|
||||||
)
|
)
|
||||||
if matches:
|
if matches:
|
||||||
session_match = matches.group(1)
|
session_match = matches.group(1)
|
||||||
for key, session in session_match.items():
|
for key, session in sessions.items():
|
||||||
if session == sessions[key]:
|
if session_match == session:
|
||||||
return key
|
return key
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue