Skip to content
This repository was archived by the owner on Aug 15, 2022. It is now read-only.
This repository was archived by the owner on Aug 15, 2022. It is now read-only.

Wrong format in list_clients function #5

Description

@PfefferT
r = self._session.get("{}/api/s/{}/stat/sta".format(self._baseurl, self._site, verify=self._verify_ssl), data="json={}")

should be

r = self._session.get("{}/api/s/{}/stat/sta".format(self._baseurl, self._site), verify=self._verify_ssl, data="json={}")

For description:
with the format function you can define what should be filled inside the curly brackets. the url has two defined curly brackets, but inside format you have defined 3 parameters and the verfiy is part of the request method :-)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions