mirror of https://github.com/MISP/PyMISP
removed cast of str to str
parent
25e44e7d8d
commit
ffd4677c99
|
@ -22,7 +22,7 @@ headers = {
|
|||
}
|
||||
|
||||
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")
|
||||
quit()
|
||||
|
||||
|
|
Loading…
Reference in New Issue