Skip to content
Browse files

"id" is now stored in "pebble" object.

  • Loading branch information...
1 parent 620275e commit 3b6b019a83fe22a05b69812fee9702ce17a80e28 @kiding kiding committed Feb 23, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 pebble.py
View
3 pebble.py
@@ -92,6 +92,7 @@ def AutodetectDevice():
def __init__(self, id):
if id is None:
id = Pebble.AutodetectDevice()
+ self.id = id
self._alive = True
self._endpoint_handlers = {}
self._internal_endpoint_handlers = {
@@ -589,7 +590,7 @@ def handle_message(self, endpoint, resp):
curtime = pebble.get_time()
apps = pebble.get_appbank_status()
- print "Pebble "+pebble_id
+ print "Pebble "+pebble.id
print "Firmware "+versions["normal_fw"]["version"]
print "Recovery "+versions["recovery_fw"]["version"]
print "Timestamp: "+str(curtime)

0 comments on commit 3b6b019

Please sign in to comment.
Something went wrong with that request. Please try again.