upgrade external wakatime-cli to v2.1.9

This commit is contained in:
Alan Hamlett 2014-12-05 02:40:07 -08:00
parent 3182a45bbd
commit 327c0e448b
3 changed files with 8 additions and 4 deletions

View file

@ -3,6 +3,12 @@ History
-------
2.1.9 (2014-12-05)
++++++++++++++++++
- fix bug preventing offline heartbeats from being purged after uploaded
2.1.8 (2014-12-04)
++++++++++++++++++

View file

@ -13,7 +13,7 @@
from __future__ import print_function
__title__ = 'wakatime'
__version__ = '2.1.8'
__version__ = '2.1.9'
__author__ = 'Alan Hamlett'
__license__ = 'BSD'
__copyright__ = 'Copyright 2014 Alan Hamlett'

View file

@ -16,8 +16,6 @@ import os
import traceback
from time import sleep
from .compat import u
try:
import sqlite3
HAS_SQL = True
@ -93,7 +91,7 @@ class Queue(object):
for row_name in ['file', 'time', 'project', 'language', 'lines', 'branch', 'is_write']:
if row[index] is not None:
clauses.append('{0}=?'.format(row_name))
values.append(u(row[index]))
values.append(row[index])
else:
clauses.append('{0} IS NULL'.format(row_name))
index += 1