chore(display name): Check if display name is None
@@ -266,6 +266,7 @@ class WatsonService(object):
elif iam_access_token is not None or iam_apikey is not None:
self.set_token_manager(iam_apikey, iam_access_token, iam_url)
+ if display_name is not None:
service_name = display_name.replace(' ', '_').lower()
self.load_from_credential_file(service_name)
