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")