Compare commits

..

No commits in common. '9c2de2801bd6bd4e11182c39940f6039f0720693' and '89abf1a55a5b1d417cba008f6424fe5be91785f0' have entirely different histories.

@ -406,17 +406,12 @@ def location_processing(location, ip_addr):
if location and location.lstrip('~ ').startswith('@'):
try:
if (location.lstrip('~ ')[1:] == ""):
location, region, country = NOT_FOUND_LOCATION, None, None
else:
location, region, country = _get_location(
socket.gethostbyname(
location.lstrip('~ ')[1:]))
location = '~' + location
location = _fully_qualified_location(location, region, country)
hide_full_address = not force_show_full_address
location, region, country = _get_location(
socket.gethostbyname(
location.lstrip('~ ')[1:]))
location = '~' + location
location = _fully_qualified_location(location, region, country)
hide_full_address = not force_show_full_address
except:
location, region, country = NOT_FOUND_LOCATION, None, None

Loading…
Cancel
Save