From d8cd7681f299d9431730201de868bdc3284d328d Mon Sep 17 00:00:00 2001 From: arjuan <rmarchant+github@gmail.com> Date: Wed, 13 Sep 2017 21:50:30 +0000 Subject: [PATCH] fix silly typo --- gandi-ddns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gandi-ddns.py b/gandi-ddns.py index 9c6439d..cd20c29 100644 --- a/gandi-ddns.py +++ b/gandi-ddns.py @@ -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 -- GitLab