From 8a9e6d52045f2638b18cbe7e45facadf4f29070b Mon Sep 17 00:00:00 2001 From: Joseph Rollinson Date: Sat, 9 Mar 2013 11:10:35 -0500 Subject: [PATCH] Made default pebble id None --- pebble/pebble.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pebble/pebble.py b/pebble/pebble.py index 5d9d0fa..807146c 100755 --- a/pebble/pebble.py +++ b/pebble/pebble.py @@ -144,7 +144,7 @@ def AutodetectDevice(): log.info("Autodetect found a Pebble with ID %s" % id) return id - def __init__(self, id): + def __init__(self, id = None): if id is None: id = Pebble.AutodetectDevice() self.id = id