fix(reliability): pool size counts any whitespace; deploy ZIP var remote-expands
This commit is contained in:
1 parent
eae47d99bf
commit
027646c905
2 files changed
+2
-2
No files matched your search
@@ -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