mirror of https://github.com/MISP/PyMISP
removed cast of str to str
parent
694c4b72ee
commit
f5a9d5924d
|
@ -22,7 +22,7 @@ headers = {
|
||||||
}
|
}
|
||||||
|
|
||||||
responseSiem = requests.request("GET", urlSiem, headers=headers, params=queryString)
|
responseSiem = requests.request("GET", urlSiem, headers=headers, params=queryString)
|
||||||
if 'Credentials authentication failed' in str(responseSiem.text):
|
if 'Credentials authentication failed' in responseSiem.text:
|
||||||
print("Credentials invalid, please edit keys.py and try again")
|
print("Credentials invalid, please edit keys.py and try again")
|
||||||
quit()
|
quit()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue