# Added to and untwistedized and fixed up by Kyle Machulis <firstname.lastname@example.org>
-import struct, array, time
+import struct, array, time
from message import MessageIN, MessageOUT
# FitBit device initialization
print "Waiting for beacon"
msg = self._receive_message()
raise FitBitBeaconTimeout("Timeout waiting for beacon, will restart")