Skip to content

Commit

Permalink
Merge pull request schodet#151 from xrmx/bluesockdebug
Browse files Browse the repository at this point in the history
bluesock: teach BlueSock init about debug
  • Loading branch information
GoldSloth authored May 27, 2018
2 parents baf8490 + db4b902 commit 096954b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nxt/bluesock.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 096954b

Please sign in to comment.