forked from luna/vim-rana-local
add api.wakatime.com default when base_url not provided
This commit is contained in:
parent
a91facf922
commit
0e6020c4f3
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ except ImportError: # pragma: nocover
|
|||
|
||||
|
||||
def _make_url(configs, path):
|
||||
base_url = configs.get('settings', 'base_url')
|
||||
base_url = configs.get('settings', 'base_url') or 'https://api.wakatime.com'
|
||||
return '%s/%s' % (base_url, path)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue