upgrade wakatime cli to v4.0.13

This commit is contained in:
Alan Hamlett 2015-05-16 14:38:19 -07:00
parent 9b5c59e677
commit 57fa4d4d84
2 changed files with 6 additions and 2 deletions

View file

@ -1,7 +1,7 @@
__title__ = 'wakatime'
__description__ = 'Common interface to the WakaTime api.'
__url__ = 'https://github.com/wakatime/wakatime'
__version_info__ = ('4', '0', '12')
__version_info__ = ('4', '0', '13')
__version__ = '.'.join(__version_info__)
__author__ = 'Alan Hamlett'
__author_email__ = 'alan@wakatime.com'

View file

@ -454,11 +454,15 @@ def main(argv=None):
if not project_name:
project_name = args.alternate_project
kwargs = vars(args)
if 'project' in kwargs:
del kwargs['project']
if send_heartbeat(
project=project_name,
branch=branch,
stats=stats,
**vars(args)
**kwargs
):
queue = Queue()
while True: