Skip to content

Commit

Permalink
get_timezone_for_ip: Just use api_url directly
Browse files Browse the repository at this point in the history
I don't remember why we manually try to reformat the service URL, but we
can just use api_url now.
  • Loading branch information
cdown committed May 8, 2019
1 parent 998277c commit f5d0be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tzupdate.py
Expand Up @@ -101,7 +101,7 @@ def get_timezone_for_ip(ip, service, queue_obj):
msg = get_deep(api_response, service.error_keys)
except KeyError:
pass
log.debug("%s failed: %s", service.url.format(ip=""), msg)
log.debug("%s failed: %s", api_url, msg)
else:
queue_obj.put(tz)

Expand Down

0 comments on commit f5d0be5

Please sign in to comment.