Skip to content

Commit

Permalink
Fix windows scanner crash
Browse files Browse the repository at this point in the history
  • Loading branch information
vmacari authored Jun 9, 2023
1 parent e3a23ab commit 4fc95d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bleak/backends/winrt/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def _received_handler(
def _stopped_handler(self, sender, e):
logger.debug(
"{0} devices found. Watcher status: {1}.".format(
len(self.seen_devices), self.watcher.status
len(self.seen_devices), "?" if self.watcher is None else self.watcher.status
)
)
self._stopped_event.set()
Expand Down

0 comments on commit 4fc95d6

Please sign in to comment.