Skip to content

Commit

Permalink
bluesock: teach BlueSock init about debug
Browse files Browse the repository at this point in the history
  • Loading branch information
xrmx committed May 26, 2018
1 parent baf8490 commit db4b902
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 db4b902

Please sign in to comment.