Skip to content

Commit

Permalink
Merge pull request #11 from jtrollinson/patch-1
Browse files Browse the repository at this point in the history
Made default pebble id None
  • Loading branch information
Hexxeh committed Mar 9, 2013
2 parents 52ca58b + 8a9e6d5 commit b04361f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pebble/pebble.py
Expand Up @@ -144,7 +144,7 @@ def AutodetectDevice():
log.info("Autodetect found a Pebble with ID %s" % id) log.info("Autodetect found a Pebble with ID %s" % id)
return id return id


def __init__(self, id): def __init__(self, id = None):
if id is None: if id is None:
id = Pebble.AutodetectDevice() id = Pebble.AutodetectDevice()
self.id = id self.id = id
Expand Down

0 comments on commit b04361f

Please sign in to comment.