From e2779595140074a23bdaec22544d3c16b677c7e0 Mon Sep 17 00:00:00 2001 From: klonfish Date: Mon, 26 Dec 2016 23:01:54 +0100 Subject: [PATCH] Fixed typo --- wii-pair/wiiboard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wii-pair/wiiboard.py b/wii-pair/wiiboard.py index 5e133b7..925d1c9 100644 --- a/wii-pair/wiiboard.py +++ b/wii-pair/wiiboard.py @@ -66,9 +66,9 @@ class Wiiboard: try: self.datasocket = bluetooth.BluetoothSocket(bluetooth.L2CAP) - self.datasocket.setttimeout(2) + self.datasocket.settimeout(2) self.controlsocket = bluetooth.BluetoothSocket(bluetooth.L2CAP) - self.controlsocket.setttimeout(2) + self.controlsocket.settimeout(2) except ValueError: raise Exception("Error: Bluetooth not found")