summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xctbtw.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctbtw.py b/ctbtw.py
index 92ac6fd..cca5d3b 100755
--- a/ctbtw.py
+++ b/ctbtw.py
@@ -721,7 +721,7 @@ if __name__ == '__main__':
pass
finally:
msg = StopInquiryModeReq()
- send_msg(dev, msg)
+ dev.send_msg(msg)
elif args.forget:
# TODO I couldn't get forgetting about just one device to work; it is not exercised by app
msg = ForgetDeviceReq(index=255)