changed test.py to avoid naming errors

This commit is contained in:
Mendel Greenberg 2019-01-19 19:50:32 -05:00
parent 26eb48b087
commit 8a4e2d02d4
No known key found for this signature in database
GPG key ID: B26A7D2DF7DC6EF7

View file

@ -13,7 +13,7 @@ def print_out(val,delay):
elif val == 2:
try:
global r
r = requests.get("http://site1.local:8000")
r = requests.get("http://localhost:8000")
print(r)
except requests.exceptions.ConnectionError as e:
print(e)