mirror of
https://github.com/powerline/powerline.git
synced 2025-04-08 19:25:04 +02:00
Merge 1c43b3af315a263fced9112c14401e63519e107e into 14cc0d2df8e85fd88aad0e1152c4b1f998f4a7b0
This commit is contained in:
commit
b1e0dc093e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user