Skip to content

Commit

Permalink
fix bug #138 introduced in 1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kbr committed Jan 16, 2022
1 parent 0fb1e29 commit 839e815
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fritzconnection/lib/fritzhomeauto.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ def device_information(self):
info = list()
for n in itertools.count():
try:
info = self.get_device_information_by_index(n)
device_information = self.get_device_information_by_index(n)
except IndexError:
break
info.append(info)
info.append(device_information)
return info

def set_switch(self, identifier, on=True):
Expand Down

0 comments on commit 839e815

Please sign in to comment.