Private GIT

Skip to content
Snippets Groups Projects
Commit d8cd7681 authored by arjuan's avatar arjuan
Browse files

fix silly typo

parent 057cb109
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ def get_ip():
print('Failed to retrieve external IP.')
sys.exit(2)
if r.status_code != 200:
print('Failed to retrieve external IP. Server responded with status_code: %d' % result.status_code)
print('Failed to retrieve external IP. Server responded with status_code: %d' % r.status_code)
sys.exit(2)
ip = r.text.rstrip() # strip \n and any trailing whitespace
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment