Convert wifi-exclude to a string. Update-users fix

This commit is contained in:
Jack Ivanov 2018-07-12 12:39:22 +03:00
parent 1cf953ba39
commit bb88695dd5

View file

@ -13,7 +13,7 @@
<key>OnDemandRules</key>
<array>
{% if algo_ondemand_wifi_exclude != '_null' %}
{% set WIFI_EXCLUDE_LIST = algo_ondemand_wifi_exclude.split(',') %}
{% set WIFI_EXCLUDE_LIST = (algo_ondemand_wifi_exclude|string).split(',') %}
<dict>
<key>Action</key>
<string>Disconnect</string>