replace deprecated Service.find_where() method

This commit is contained in:
Frédéric Péters 2023-02-07 20:06:55 +01:00
parent 5fcc142e79
commit 86ef790dc0
1 changed files with 1 additions and 1 deletions

View File

@ -392,7 +392,7 @@ else:
return cluster_name
tmux = libtmux.Server()
session = tmux.find_where({'session_name': tmux_session_name})
session = tmux.sessions.get(session_name=tmux_session_name)
status_window = session.attached_window