modules.bamboohr: __virtual__ returns error message

This commit is contained in:
Brendan Rius 2015-12-04 16:33:21 +01:00
parent a9932d8ff3
commit bf52d4acdc

View file

@ -32,7 +32,7 @@ def __virtual__():
'''
if _apikey():
return True
return False
return (False, 'The API key was not specified. Please specify it using the "apiKey" attribute.')
def _apikey():