fix: remove tab in code

This commit is contained in:
michellealva 2020-07-20 13:12:17 +05:30
parent 37cd1b8021
commit 8c7d8ba917

View File

@ -15,7 +15,7 @@ class Vehicle(Document):
if getdate(self.carbon_check_date) > getdate():
frappe.throw(_("Last carbon check date cannot be a future date"))
def get_timeline_data(doctype, name):
def get_timeline_data(doctype, name):
'''Return timeline for vehicle log'''
return dict(frappe.db.sql('''select unix_timestamp(date), count(*)
from `tabVehicle Log` where license_plate=%s