You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 15, 2022. It is now read-only.
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 :-)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
should be
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 :-)The text was updated successfully, but these errors were encountered: