style: removed unused imports and updated formatting

This commit is contained in:
Gavin D'souza 2020-04-16 16:51:59 +05:30
parent 6abdfc586b
commit 496c6a3baa
2 changed files with 1 additions and 3 deletions

View File

@ -15,7 +15,7 @@ frappe.ui.form.on('Tally Migration', {
let error_occurred = data.count === -1;
if (data.count == data.total || error_occurred) {
window.setTimeout((title) => {
frm.dashboard.hide_progress(title)
frm.dashboard.hide_progress(title);
frm.reload_doc();
if (error_occurred) {
frappe.msgprint({

View File

@ -5,7 +5,6 @@
from __future__ import unicode_literals
import json
import sys
import re
import traceback
import zipfile
@ -18,7 +17,6 @@ from erpnext import encode_company_abbr
from erpnext.accounts.doctype.account.chart_of_accounts.chart_of_accounts import create_charts
from frappe import _
from frappe.custom.doctype.custom_field.custom_field import create_custom_field
from frappe.desk.doctype.notification_log.notification_log import enqueue_create_notification
from frappe.model.document import Document
from frappe.model.naming import getseries, revert_series_if_last
from frappe.utils.data import format_datetime