remove extra slash on api urls

This commit is contained in:
Luna 2019-05-23 22:36:22 -03:00
parent effc88f809
commit 605e6096fb

View file

@ -40,7 +40,7 @@ except ImportError: # pragma: nocover
def _make_url(configs, path):
base_url = configs.get('settings', 'base_url') or 'https://api.wakatime.com'
return '%s/%s' % (base_url, path)
return '%s%s' % (base_url, path)
def send_heartbeats(heartbeats, args, configs, use_ntlm_proxy=False):