Skip to content

Commit

Permalink
denon plugin: fix resend_info
Browse files Browse the repository at this point in the history
  • Loading branch information
onkelandy committed Jul 3, 2024
1 parent 58d9567 commit fabe5fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion denon/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def _set_device_defaults(self):
# the sent command. Getting it as return value would assign it to the wrong
# command and discard it... so break the "return result"-chain and don't
# return anything
def _send(self, data_dict, resend_info=None):
def _send(self, data_dict, resend_info={}):
if resend_info.get('returnvalue') is not None:
self._sending.update({resend_info.get('command'): resend_info})
return self._connection.send(data_dict)
Expand Down

0 comments on commit fabe5fd

Please sign in to comment.