openyou/libfitbit

Exception AttributeError when unplugging fitbit ultra base

Opened this issue · 0 comments

Hi, I got this error when unplugging the base, which makes libfitbit to exit:

Failed to find a base
No base found!
[]

Closing USB device
Exception AttributeError: "'FitBitClient' object has no attribute 'fitbit'" in <bound method FitBitClient.del of <main.FitBitClient object at 0x926b6cc>> ignored

It would be better to keep looking if the base would be plugged again instead of crashing/exiting.