diff --git a/nxt/bluesock.py b/nxt/bluesock.py index d1da786..7bb9990 100644 --- a/nxt/bluesock.py +++ b/nxt/bluesock.py @@ -25,10 +25,10 @@ class BlueSock(object): type = 'bluetooth' - def __init__(self, host): + def __init__(self, host, debug=False): self.host = host self.sock = None - self.debug = False + self.debug = debug def __str__(self): return 'Bluetooth (%s)' % self.host