greatscottgadgets / facedancer

Implement your own USB device in Python, supported by a hardware peripheral such as Cynthion or GreatFET
BSD 3-Clause "New" or "Revised" License
785 stars 118 forks source link

moondancer: log a warning for permissions errors #132

Closed miek closed 2 days ago

miek commented 2 days ago

If there's a Cynthion device available but libgreat couldn't claim access to it, it throws an IOError. This catches that and logs a message for the user.