Skip to content

Conversation

polkaa
Copy link

@polkaa polkaa commented Nov 27, 2019

Mistake is in the utilization of GLPI constructor :

glpi = GLPI(url, token, (user, password))

(README)
while the constructor has the following signature :

def __init__(self, url, app_token, auth_token,
                 item_map=None):

(glpi/glpi.py)

GLPI constructor does not take a tuple of user and password as argument but an authentification token.

@polkaa polkaa changed the title Fix README (usage of GLPI constructor) Fix README (utilization of GLPI constructor) Nov 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant