Skip to content

Commit

Permalink
reboot_ap is actually restart_ap
Browse files Browse the repository at this point in the history
  • Loading branch information
calmh committed Feb 5, 2014
1 parent e673672 commit b99bcb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unifi/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def restart_ap_name(self, name):
raise APIError('%s is not a valid name' % str(name))
for ap in self.get_aps():
if ap.get('state', 0) == 1 and ap.get('name', None) == name:
self.reboot_ap(ap['mac'])
self.restart_ap(ap['mac'])

def create_backup(self):
"""Ask controller to create a backup archive file, response contains the path to the backup file.
Expand Down

0 comments on commit b99bcb8

Please sign in to comment.