|
|
|
@ -66,9 +66,9 @@ class Wiiboard:
@@ -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") |
|
|
|
|
|
|
|
|
|