diff --git a/pyunifi/controller.py b/pyunifi/controller.py index b456a11..397ae96 100644 --- a/pyunifi/controller.py +++ b/pyunifi/controller.py @@ -473,7 +473,8 @@ def update_x_passphrase(self, wlan_id, x_passphrase): :param x_passphrase: The new password :return: the updated wlan_conf """ - res = self._api_update("rest/wlanconf/" + wlan_id, {"x_passphrase": x_passphrase}) + res = self._api_update("rest/wlanconf/" + wlan_id, + {"x_passphrase": x_passphrase}) return res def update_user_group(self, group_id, down_kbps=-1, up_kbps=-1):