Skip to content

Commit

Permalink
Bugfix: wtf ?
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Bovée committed Mar 5, 2020
1 parent df73d05 commit dee0843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onvif/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ async def update_url(self, host=None, port=None):

with self.services_lock:
for sname, service in self.services.items():
xaddr = getattr(self.capabilities, sname.capitalize).XAddr
xaddr = getattr(self.capabilities, sname).XAddr
await service.ws_client.set_options(location=xaddr)

def get_service(self, name, create=True):
Expand Down

0 comments on commit dee0843

Please sign in to comment.