receiver: fix bug when setting causes exception

This commit is contained in:
Peter F. Patel-Schneider 2020-08-17 18:02:32 -04:00
parent 5117028c52
commit 9b8f96e824
1 changed files with 2 additions and 2 deletions

View File

@ -277,8 +277,8 @@ class PairedDevice(object):
for s in self.descriptor.settings:
try:
setting = s(self)
except Exception as e:
# Do nothing if the device is offline
except Exception as e: # Do nothing if the device is offline
setting = None
if self.online:
raise e
if setting is not None: