Skip to content

Commit 7ecde5c

Browse files
Add files via upload
1 parent 6e97f54 commit 7ecde5c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pkg/buttoninput.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,12 +189,12 @@ def __init__(self, verbose=False):
189189
print("devices added: ", ", ".join (added))
190190
print("devices removed: ", ", ".join (removed))
191191

192-
if self.first_run == False:
193-
if added:
194-
self.send_pairing_prompt("A button input device connected")
192+
if self.first_run == False:
193+
if added:
194+
self.send_pairing_prompt("A button input device connected")
195195

196-
elif removed:
197-
self.send_pairing_prompt("A button input device disconnected")
196+
elif removed:
197+
self.send_pairing_prompt("A button input device disconnected")
198198

199199
self.first_run = False
200200

0 commit comments

Comments
 (0)