updated listDevices so that it works with 0.8.0
Merge pull request #8 from jmwohl/080fix

updated listDevices so that it works with 0.8.0