Update xp.py
This commit is contained in:
@@ -95,7 +95,7 @@ def verify_upload():
|
|||||||
try:
|
try:
|
||||||
r = requests.get(triggerurl, verify=False, timeout=10)
|
r = requests.get(triggerurl, verify=False, timeout=10)
|
||||||
# kinda brittle from experience prob just remove the latter
|
# kinda brittle from experience prob just remove the latter
|
||||||
if r.status_code == 200 and "ok" in r.text:
|
if r.status_code == 200 # and "ok" in r.text:
|
||||||
print("+ trigger fired, shelling...")
|
print("+ trigger fired, shelling...")
|
||||||
else:
|
else:
|
||||||
print(f"+ trigger returned {r.status_code}")
|
print(f"+ trigger returned {r.status_code}")
|
||||||
|
|||||||
Reference in New Issue
Block a user