diff --git a/custom_ui/install.py b/custom_ui/install.py index f1b8249..465559a 100644 --- a/custom_ui/install.py +++ b/custom_ui/install.py @@ -6,7 +6,7 @@ import frappe from .utils import create_module import holidays from datetime import date, timedelta -import custom_fields +from . import custom_fields def after_install(): create_module() @@ -94,7 +94,7 @@ def remove_custom_fields(custom_fields): if frappe.db.exists("Custom Field", name): frappe.delete_doc("Custom Field", name) frappe.db.commit() - print("Deleted {name}") + print(f"Deleted {name}") print("Deleted custom fields from database")