Merge 1c43b3af315a263fced9112c14401e63519e107e into 14cc0d2df8e85fd88aad0e1152c4b1f998f4a7b0

This commit is contained in:
pallaswept 2023-11-27 18:51:29 +03:00 committed by GitHub
commit b1e0dc093e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,4 +19,4 @@ def attached_clients(pl, minimum=1):
attached_clients_output = get_tmux_output(pl, 'list-clients', '-t', session_name)
attached_count = len(attached_clients_output.rstrip().split('\n'))
return None if attached_count < minimum else str(attached_count)
return None if attached_count < int(minimum) else str(attached_count)