fix(reliability): pool size counts any whitespace; deploy ZIP var remote-expands
This commit is contained in:
@@ -12,7 +12,7 @@ def _pool_size():
|
||||
['uci', 'get', 'pineapd.@ssidpool[0].ssid'])
|
||||
if rc != 0 or not (out or '').strip():
|
||||
return 0
|
||||
return len([s for s in out.strip().split('\n') if s])
|
||||
return len(out.split())
|
||||
|
||||
|
||||
def reconcile(clear_pool=True):
|
||||
|
||||
Reference in New Issue
Block a user