removed unecessary backslash

This commit is contained in:
Revant Nandgaonkar 2014-12-02 14:19:29 +05:30
parent d0a44ca85c
commit b80d892eab

View File

@ -24,7 +24,7 @@ class TimeLog(Document):
from frappe.utils import time_diff_in_hours from frappe.utils import time_diff_in_hours
self.hours = time_diff_in_hours(self.to_time, self.from_time) self.hours = time_diff_in_hours(self.to_time, self.from_time)
if self.hours < 0: if self.hours < 0:
frappe.throw(_("\'From Time\' cannot be later than \'To Time\'")) frappe.throw(_("'From Time' cannot be later than 'To Time'"))
def set_status(self): def set_status(self):
self.status = { self.status = {