mirror of
https://github.com/powerline/powerline.git
synced 2025-04-08 19:25:04 +02:00
Merge bf22bc7ee4b4344330d17ed71ab59d4ecc2f2fb2 into 8b07f6396127f50fb73de9020912ae252d3ed170
This commit is contained in:
commit
60e9525121
@ -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