Skip to content

Commit

Permalink
Merge pull request #71 from FlorianHeigl/patch-1
Browse files Browse the repository at this point in the history
Update README.md - py3 syntax
  • Loading branch information
finish06 authored Jan 24, 2022
2 parents a12b36c + 7aa286b commit 78174d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ API Example
from pyunifi.controller import Controller
c = Controller('192.168.1.99', 'admin', 'p4ssw0rd')
for ap in c.get_aps():
print 'AP named %s with MAC %s' % (ap.get('name'), ap['mac'])
print('AP named %s with MAC %s' % (ap.get('name'), ap['mac']))
```

See also the scripts `unifi-ls-clients` and `unifi-low-rssi-reconnect` for more
Expand Down

0 comments on commit 78174d5

Please sign in to comment.