argon1 icon indicating copy to clipboard operation
argon1 copied to clipboard

Check for smbus loading issues

Open gitgrift opened this issue 4 years ago • 0 comments

If the i2c kernel modules are not loaded or the user does not have the correct permissions the smbus.SMBus() call will fail. Wrap the call in try/except to catch this.

Fixes: #7

Signed-off-by: Patrick Talbert [email protected]

gitgrift avatar Sep 21 '20 14:09 gitgrift