Update app.py
Browse files
app.py
CHANGED
|
@@ -28,12 +28,10 @@ try:
|
|
| 28 |
if resp1.status_code == 200:
|
| 29 |
print(resp1.status_code)
|
| 30 |
print(resp1.text)
|
| 31 |
-
print('Okay, I can connect to aws free test server.')
|
| 32 |
except:
|
| 33 |
print('The app is having issues! please check first!')
|
| 34 |
|
| 35 |
while True:
|
| 36 |
-
print('Begining access to the almighty Intel DevCloud.......')
|
| 37 |
try:
|
| 38 |
resp2 = requests.get(url)
|
| 39 |
if resp2.status_code == 200:
|
|
|
|
| 28 |
if resp1.status_code == 200:
|
| 29 |
print(resp1.status_code)
|
| 30 |
print(resp1.text)
|
|
|
|
| 31 |
except:
|
| 32 |
print('The app is having issues! please check first!')
|
| 33 |
|
| 34 |
while True:
|
|
|
|
| 35 |
try:
|
| 36 |
resp2 = requests.get(url)
|
| 37 |
if resp2.status_code == 200:
|