fix warmup checker

This commit is contained in:
rafliher
2025-10-25 14:57:55 +07:00
parent 5afe75907e
commit 0f09642e91
+1 -2
View File
@@ -25,8 +25,7 @@ class Warmup(Challenge):
try:
url = f'http://localhost:{self.port}/'
r = requests.get(url, timeout=5)
print(r.text)
assert "Simple file viewing application" in r.text.lower(), 'Warmup app not available'
assert "Simple file viewing application" in r.text, 'Warmup app not available'
with open(self.flag_location, 'r') as f:
host_flag = f.read().strip()