mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
783711b46f
commit
e321cbd0e5
|
@ -76,6 +76,9 @@ def urlExists(session, url: str, timeoutSec=3,
|
||||||
if result.status_code == 200 or \
|
if result.status_code == 200 or \
|
||||||
result.status_code == 304:
|
result.status_code == 304:
|
||||||
return True
|
return True
|
||||||
|
else:
|
||||||
|
print('urlExists for ' + url + ' returned ' +
|
||||||
|
str(result.status_code))
|
||||||
except BaseException:
|
except BaseException:
|
||||||
pass
|
pass
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue