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:
|
||||
session_match = matches.group(1)
|
||||
for key, session in session_match.items():
|
||||
if session == sessions[key]:
|
||||
for key, session in sessions.items():
|
||||
if session_match == session:
|
||||
return key
|
||||
return None
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue