diff --git a/Scripts/update_server.py b/Scripts/update_server.py --- a/Scripts/update_server.py +++ b/Scripts/update_server.py @@ -67,7 +67,7 @@ def get_ip(tor_config): match = IP_REGEX.match(i) if match is not None: - return i.groups()[1] + return match.groups()[1] return None