Essayez sauf Keyerror

try:
    connection = manager.connect("I2Cx")
except Exception as e:
    print repr(e)
Real Raccoon